Class groovyx.net.http.HttpGetSpec

42

tests

0

failures

0

ignored

22.767s

duration

100%

successful

Tests

Test Duration Result
[APACHE] GET (BASIC) /basic: returns content 0.166s passed
[APACHE] GET (DIGEST) /digest-auth 1.341s passed
[APACHE] GET /: returns content 0.128s passed
[APACHE] GET /date: returns content of specified type 0.149s passed
[APACHE] GET /foo (cookie): returns content 0.129s passed
[APACHE] GET /foo: returns content 0.115s passed
[APACHE] GET /foo?alpha=bravo: returns content 0.140s passed
[APACHE] GET /json: returns json 0.157s passed
[APACHE] GET /status(200): success/failure handler 0.289s passed
[APACHE] GET /status(200): verify when handler 15.085s passed
[APACHE] GET /status(200): with only failure handler 0.141s passed
[APACHE] GET /status(300): success/failure handler 0.190s passed
[APACHE] GET /status(300): verify when handler 0.299s passed
[APACHE] GET /status(300): with only failure handler 0.126s passed
[APACHE] GET /status(400): success/failure handler 0.145s passed
[APACHE] GET /status(400): verify when handler 0.339s passed
[APACHE] GET /status(400): with only failure handler 0.144s passed
[APACHE] GET /status(500): success/failure handler 0.153s passed
[APACHE] GET /status(500): verify when handler 0.188s passed
[APACHE] GET /status(500): with only failure handler 0.156s passed
[APACHE] GET /xml: returns xml 0.251s passed
[JAVA] GET (BASIC) /basic: returns content 0.124s passed
[JAVA] GET (DIGEST) /digest-auth 0.325s passed
[JAVA] GET /: returns content 0.111s passed
[JAVA] GET /date: returns content of specified type 0.115s passed
[JAVA] GET /foo (cookie): returns content 0.103s passed
[JAVA] GET /foo: returns content 0.098s passed
[JAVA] GET /foo?alpha=bravo: returns content 0.102s passed
[JAVA] GET /json: returns json 0.093s passed
[JAVA] GET /status(200): success/failure handler 0.131s passed
[JAVA] GET /status(200): verify when handler 0.231s passed
[JAVA] GET /status(200): with only failure handler 0.109s passed
[JAVA] GET /status(300): success/failure handler 0.145s passed
[JAVA] GET /status(300): verify when handler 0.202s passed
[JAVA] GET /status(300): with only failure handler 0.108s passed
[JAVA] GET /status(400): success/failure handler 0.117s passed
[JAVA] GET /status(400): verify when handler 0.164s passed
[JAVA] GET /status(400): with only failure handler 0.111s passed
[JAVA] GET /status(500): success/failure handler 0.121s passed
[JAVA] GET /status(500): verify when handler 0.179s passed
[JAVA] GET /status(500): with only failure handler 0.122s passed
[JAVA] GET /xml: returns xml 0.125s passed

Standard output

11:39:19.233 [Test worker] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
11:39:19.284 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
11:39:19.288 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
11:39:19.292 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
11:39:19.293 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
11:39:19.295 [Test worker] DEBUG i.n.util.internal.PlatformDependent - Java version: 8
11:39:19.295 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
11:39:19.296 [Test worker] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
11:39:19.297 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
11:39:19.298 [Test worker] DEBUG i.n.util.internal.PlatformDependent - Javassist: unavailable
11:39:19.299 [Test worker] DEBUG i.n.util.internal.PlatformDependent - You don't have Javassist in your class path or you don't have enough permission to load dynamically generated classes.  Please check the configuration for better performance.
11:39:19.299 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: /var/folders/pg/_21h3g2d56969t_jkt33nv240000gp/T (java.io.tmpdir)
11:39:19.299 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
11:39:19.300 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
11:39:21.213 [Test worker] DEBUG i.n.c.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 8
11:39:21.426 [Test worker] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
11:39:21.427 [Test worker] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
11:39:21.737 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 8
11:39:21.738 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 8
11:39:21.738 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
11:39:21.738 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
11:39:21.738 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
11:39:21.738 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
11:39:21.739 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
11:39:21.739 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
11:39:21.739 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
11:39:21.740 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
11:39:21.917 [MockServer thread for port: 56355] DEBUG i.n.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0xc0b26c003171509e (took 1 ms)
11:39:21.963 [MockServer thread for port: 56355] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
11:39:21.964 [MockServer thread for port: 56355] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
11:39:21.964 [MockServer thread for port: 56355] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
11:39:21.969 [MockServer thread for port: 56355] DEBUG io.netty.util.NetUtil - Loopback interface: lo0 (lo0, 0:0:0:0:0:0:0:1)
11:39:21.971 [MockServer thread for port: 56355] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 128 (non-existent)
11:39:21.984 [MockServer thread for port: 56355] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56355
11:39:22.870 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:23.139 [Test worker] DEBUG o.m.c.ConfigurationProperties - Property file not found on classpath using path [mockserver.properties]
11:39:23.139 [Test worker] DEBUG o.m.c.ConfigurationProperties - Property file not found using path [mockserver.properties]
11:39:23.205 [nioEventLoopGroup-4-1] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.bytebuf.checkAccessible: true
11:39:23.209 [nioEventLoopGroup-4-1] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
11:39:23.210 [nioEventLoopGroup-4-1] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4
11:39:23.365 [nioEventLoopGroup-4-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144
11:39:24.400 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f178cb9, /127.0.0.1:56360 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:24.927 [nioEventLoopGroup-3-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:24.930 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f178cb9, /127.0.0.1:56360 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:24.931 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f178cb9, /127.0.0.1:56360 => /127.0.0.1:56355] FLUSH
11:39:24.935 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:24.949 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f178cb9, /127.0.0.1:56360 => /127.0.0.1:56355] FLUSH
11:39:24.982 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f178cb9, /127.0.0.1:56360 :> /127.0.0.1:56355] INACTIVE
11:39:24.983 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f178cb9, /127.0.0.1:56360 :> /127.0.0.1:56355] UNREGISTERED
11:39:24.995 [nioEventLoopGroup-4-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-4-1
11:39:24.997 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.033 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1883285c, /127.0.0.1:56364 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:25.045 [nioEventLoopGroup-3-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:25.046 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1883285c, /127.0.0.1:56364 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.047 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1883285c, /127.0.0.1:56364 => /127.0.0.1:56355] FLUSH
11:39:25.049 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1883285c, /127.0.0.1:56364 => /127.0.0.1:56355] FLUSH
11:39:25.048 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.051 [nioEventLoopGroup-6-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-6-1
11:39:25.050 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1883285c, /127.0.0.1:56364 :> /127.0.0.1:56355] INACTIVE
11:39:25.052 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1883285c, /127.0.0.1:56364 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.059 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.092 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x572ab1e4, /127.0.0.1:56365 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:25.102 [nioEventLoopGroup-3-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:25.103 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x572ab1e4, /127.0.0.1:56365 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.104 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x572ab1e4, /127.0.0.1:56365 => /127.0.0.1:56355] FLUSH
11:39:25.106 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.106 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x572ab1e4, /127.0.0.1:56365 => /127.0.0.1:56355] FLUSH
11:39:25.107 [nioEventLoopGroup-7-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-7-1
11:39:25.215 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x572ab1e4, /127.0.0.1:56365 :> /127.0.0.1:56355] INACTIVE
11:39:25.215 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x572ab1e4, /127.0.0.1:56365 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.218 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.252 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e220f6, /127.0.0.1:56374 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:25.258 [nioEventLoopGroup-3-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:25.259 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e220f6, /127.0.0.1:56374 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.260 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e220f6, /127.0.0.1:56374 => /127.0.0.1:56355] FLUSH
11:39:25.263 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e220f6, /127.0.0.1:56374 => /127.0.0.1:56355] FLUSH
11:39:25.262 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.264 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e220f6, /127.0.0.1:56374 :> /127.0.0.1:56355] INACTIVE
11:39:25.264 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e220f6, /127.0.0.1:56374 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.269 [nioEventLoopGroup-8-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-8-1
11:39:25.270 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.280 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf498acdf, /127.0.0.1:56375 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:25.284 [nioEventLoopGroup-3-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:25.285 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf498acdf, /127.0.0.1:56375 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.285 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf498acdf, /127.0.0.1:56375 => /127.0.0.1:56355] FLUSH
11:39:25.287 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf498acdf, /127.0.0.1:56375 => /127.0.0.1:56355] FLUSH
11:39:25.287 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.288 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf498acdf, /127.0.0.1:56375 :> /127.0.0.1:56355] INACTIVE
11:39:25.288 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf498acdf, /127.0.0.1:56375 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.289 [nioEventLoopGroup-9-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-9-1
11:39:25.304 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.314 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf2ab088, /127.0.0.1:56376 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:25.318 [nioEventLoopGroup-3-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:25.319 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf2ab088, /127.0.0.1:56376 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.320 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf2ab088, /127.0.0.1:56376 => /127.0.0.1:56355] FLUSH
11:39:25.321 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf2ab088, /127.0.0.1:56376 => /127.0.0.1:56355] FLUSH
11:39:25.322 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf2ab088, /127.0.0.1:56376 :> /127.0.0.1:56355] INACTIVE
11:39:25.322 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf2ab088, /127.0.0.1:56376 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.322 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.324 [nioEventLoopGroup-10-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-10-1
11:39:25.325 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.335 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8acbbd40, /127.0.0.1:56377 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:25.339 [nioEventLoopGroup-3-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:25.340 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8acbbd40, /127.0.0.1:56377 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.341 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8acbbd40, /127.0.0.1:56377 => /127.0.0.1:56355] FLUSH
11:39:25.343 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8acbbd40, /127.0.0.1:56377 => /127.0.0.1:56355] FLUSH
11:39:25.344 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8acbbd40, /127.0.0.1:56377 :> /127.0.0.1:56355] INACTIVE
11:39:25.343 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.344 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8acbbd40, /127.0.0.1:56377 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.344 [nioEventLoopGroup-11-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-11-1
11:39:25.446 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.461 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd39034e4, /127.0.0.1:56381 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:25.464 [nioEventLoopGroup-3-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:25.465 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd39034e4, /127.0.0.1:56381 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.466 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd39034e4, /127.0.0.1:56381 => /127.0.0.1:56355] FLUSH
11:39:25.468 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd39034e4, /127.0.0.1:56381 => /127.0.0.1:56355] FLUSH
11:39:25.468 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd39034e4, /127.0.0.1:56381 :> /127.0.0.1:56355] INACTIVE
11:39:25.468 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd39034e4, /127.0.0.1:56381 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.471 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.473 [nioEventLoopGroup-12-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-12-1
11:39:25.485 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.494 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f0f0b2a, /127.0.0.1:56382 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:25.496 [nioEventLoopGroup-3-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:25.497 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f0f0b2a, /127.0.0.1:56382 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.497 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f0f0b2a, /127.0.0.1:56382 => /127.0.0.1:56355] FLUSH
11:39:25.499 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f0f0b2a, /127.0.0.1:56382 => /127.0.0.1:56355] FLUSH
11:39:25.499 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f0f0b2a, /127.0.0.1:56382 :> /127.0.0.1:56355] INACTIVE
11:39:25.500 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f0f0b2a, /127.0.0.1:56382 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.499 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.501 [nioEventLoopGroup-13-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-13-1
11:39:25.502 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.511 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9753071c, /127.0.0.1:56383 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:25.516 [nioEventLoopGroup-3-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:25.517 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9753071c, /127.0.0.1:56383 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.518 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9753071c, /127.0.0.1:56383 => /127.0.0.1:56355] FLUSH
11:39:25.519 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9753071c, /127.0.0.1:56383 => /127.0.0.1:56355] FLUSH
11:39:25.519 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9753071c, /127.0.0.1:56383 :> /127.0.0.1:56355] INACTIVE
11:39:25.519 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.520 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9753071c, /127.0.0.1:56383 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.520 [nioEventLoopGroup-14-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-14-1
11:39:25.543 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.551 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c495903, /127.0.0.1:56384 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:25.553 [nioEventLoopGroup-3-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:25.554 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c495903, /127.0.0.1:56384 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.554 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c495903, /127.0.0.1:56384 => /127.0.0.1:56355] FLUSH
11:39:25.556 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c495903, /127.0.0.1:56384 => /127.0.0.1:56355] FLUSH
11:39:25.556 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c495903, /127.0.0.1:56384 :> /127.0.0.1:56355] INACTIVE
11:39:25.556 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c495903, /127.0.0.1:56384 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.556 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.557 [nioEventLoopGroup-15-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-15-1
11:39:25.578 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.586 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3c46657, /127.0.0.1:56385 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:25.590 [nioEventLoopGroup-3-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:25.590 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3c46657, /127.0.0.1:56385 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.591 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3c46657, /127.0.0.1:56385 => /127.0.0.1:56355] FLUSH
11:39:25.592 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3c46657, /127.0.0.1:56385 => /127.0.0.1:56355] FLUSH
11:39:25.593 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3c46657, /127.0.0.1:56385 :> /127.0.0.1:56355] INACTIVE
11:39:25.593 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3c46657, /127.0.0.1:56385 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.592 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.594 [nioEventLoopGroup-16-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-16-1
11:39:25.597 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:25.630 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1449c6a, /127.0.0.1:56386 => /127.0.0.1:56355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:25.634 [nioEventLoopGroup-3-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:25.635 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1449c6a, /127.0.0.1:56386 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:25.635 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1449c6a, /127.0.0.1:56386 => /127.0.0.1:56355] FLUSH
11:39:25.636 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1449c6a, /127.0.0.1:56386 => /127.0.0.1:56355] FLUSH
11:39:25.636 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:25.637 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1449c6a, /127.0.0.1:56386 :> /127.0.0.1:56355] INACTIVE
11:39:25.637 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1449c6a, /127.0.0.1:56386 :> /127.0.0.1:56355] UNREGISTERED
11:39:25.637 [nioEventLoopGroup-17-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-17-1
11:39:32.443 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x781dbbe8, /127.0.0.1:56529 => /127.0.0.1:56355] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:56355
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:32.448 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:32.449 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:32.451 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:32.452 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:32.454 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:32.455 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:32.457 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:32.458 [nioEventLoopGroup-3-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:32.462 [nioEventLoopGroup-3-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:32.462 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x781dbbe8, /127.0.0.1:56529 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:32.463 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x781dbbe8, /127.0.0.1:56529 => /127.0.0.1:56355] FLUSH
11:39:33.696 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21b268, /127.0.0.1:56532 => /127.0.0.1:56355] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:56355
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:33.698 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:33.700 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:33.702 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:33.703 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:33.705 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:33.706 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:33.708 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:33.709 [nioEventLoopGroup-3-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:33.711 [nioEventLoopGroup-3-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56355" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:33.712 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21b268, /127.0.0.1:56532 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:33.712 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21b268, /127.0.0.1:56532 => /127.0.0.1:56355] FLUSH
11:39:33.781 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:33.788 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f8c9c, /127.0.0.1:56533 => /127.0.0.1:56355] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56355
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:33.789 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f8c9c, /127.0.0.1:56533 => /127.0.0.1:56355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:33.789 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f8c9c, /127.0.0.1:56533 => /127.0.0.1:56355] FLUSH
11:39:33.790 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f8c9c, /127.0.0.1:56533 => /127.0.0.1:56355] CLOSE()
11:39:33.792 [nioEventLoopGroup-3-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-1
11:39:33.792 [nioEventLoopGroup-3-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-2
11:39:33.792 [nioEventLoopGroup-3-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-4
11:39:33.792 [nioEventLoopGroup-3-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-5
11:39:33.792 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x781dbbe8, /127.0.0.1:56529 :> /127.0.0.1:56355] INACTIVE
11:39:33.792 [nioEventLoopGroup-3-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-3
11:39:33.793 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x781dbbe8, /127.0.0.1:56529 :> /127.0.0.1:56355] UNREGISTERED
11:39:33.793 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21b268, /127.0.0.1:56532 :> /127.0.0.1:56355] INACTIVE
11:39:33.793 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21b268, /127.0.0.1:56532 :> /127.0.0.1:56355] UNREGISTERED
11:39:33.791 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:33.794 [nioEventLoopGroup-18-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-18-1
11:39:34.156 [MockServer thread for port: 56534] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56534
11:39:34.157 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.166 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8774bc5c, /127.0.0.1:56536 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:34.170 [nioEventLoopGroup-20-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:34.170 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8774bc5c, /127.0.0.1:56536 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.171 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8774bc5c, /127.0.0.1:56536 => /127.0.0.1:56534] FLUSH
11:39:34.172 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8774bc5c, /127.0.0.1:56536 => /127.0.0.1:56534] FLUSH
11:39:34.172 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.173 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8774bc5c, /127.0.0.1:56536 :> /127.0.0.1:56534] INACTIVE
11:39:34.173 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8774bc5c, /127.0.0.1:56536 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.174 [nioEventLoopGroup-21-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-21-1
11:39:34.175 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.185 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6da7ce57, /127.0.0.1:56537 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:34.188 [nioEventLoopGroup-20-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:34.189 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6da7ce57, /127.0.0.1:56537 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.190 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6da7ce57, /127.0.0.1:56537 => /127.0.0.1:56534] FLUSH
11:39:34.191 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6da7ce57, /127.0.0.1:56537 => /127.0.0.1:56534] FLUSH
11:39:34.191 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.191 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6da7ce57, /127.0.0.1:56537 :> /127.0.0.1:56534] INACTIVE
11:39:34.191 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6da7ce57, /127.0.0.1:56537 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.192 [nioEventLoopGroup-22-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-22-1
11:39:34.197 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.205 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18e55f08, /127.0.0.1:56538 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:34.216 [nioEventLoopGroup-20-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:34.217 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18e55f08, /127.0.0.1:56538 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.217 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18e55f08, /127.0.0.1:56538 => /127.0.0.1:56534] FLUSH
11:39:34.219 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18e55f08, /127.0.0.1:56538 => /127.0.0.1:56534] FLUSH
11:39:34.218 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.219 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18e55f08, /127.0.0.1:56538 :> /127.0.0.1:56534] INACTIVE
11:39:34.219 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18e55f08, /127.0.0.1:56538 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.219 [nioEventLoopGroup-23-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-23-1
11:39:34.221 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.233 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55d47535, /127.0.0.1:56539 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.236 [nioEventLoopGroup-20-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:34.237 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55d47535, /127.0.0.1:56539 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.237 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55d47535, /127.0.0.1:56539 => /127.0.0.1:56534] FLUSH
11:39:34.238 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55d47535, /127.0.0.1:56539 => /127.0.0.1:56534] FLUSH
11:39:34.238 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.239 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55d47535, /127.0.0.1:56539 :> /127.0.0.1:56534] INACTIVE
11:39:34.239 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55d47535, /127.0.0.1:56539 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.239 [nioEventLoopGroup-24-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-24-1
11:39:34.242 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.250 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5334926, /127.0.0.1:56540 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:34.254 [nioEventLoopGroup-20-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:34.254 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5334926, /127.0.0.1:56540 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.255 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5334926, /127.0.0.1:56540 => /127.0.0.1:56534] FLUSH
11:39:34.256 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5334926, /127.0.0.1:56540 => /127.0.0.1:56534] FLUSH
11:39:34.256 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.257 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5334926, /127.0.0.1:56540 :> /127.0.0.1:56534] INACTIVE
11:39:34.257 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5334926, /127.0.0.1:56540 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.257 [nioEventLoopGroup-25-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-25-1
11:39:34.259 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.266 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb119dc3b, /127.0.0.1:56541 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:34.269 [nioEventLoopGroup-20-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:34.270 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb119dc3b, /127.0.0.1:56541 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.271 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb119dc3b, /127.0.0.1:56541 => /127.0.0.1:56534] FLUSH
11:39:34.272 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb119dc3b, /127.0.0.1:56541 => /127.0.0.1:56534] FLUSH
11:39:34.272 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.272 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb119dc3b, /127.0.0.1:56541 :> /127.0.0.1:56534] INACTIVE
11:39:34.273 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb119dc3b, /127.0.0.1:56541 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.273 [nioEventLoopGroup-26-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-26-1
11:39:34.276 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.283 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc042413c, /127.0.0.1:56542 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:34.286 [nioEventLoopGroup-20-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:34.287 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc042413c, /127.0.0.1:56542 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.287 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc042413c, /127.0.0.1:56542 => /127.0.0.1:56534] FLUSH
11:39:34.288 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc042413c, /127.0.0.1:56542 => /127.0.0.1:56534] FLUSH
11:39:34.288 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.288 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc042413c, /127.0.0.1:56542 :> /127.0.0.1:56534] INACTIVE
11:39:34.289 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc042413c, /127.0.0.1:56542 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.289 [nioEventLoopGroup-27-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-27-1
11:39:34.290 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.296 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f8c9c, /127.0.0.1:56533 :> /127.0.0.1:56355] FLUSH
11:39:34.296 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f8c9c, /127.0.0.1:56533 :> /127.0.0.1:56355] INACTIVE
11:39:34.296 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f8c9c, /127.0.0.1:56533 :> /127.0.0.1:56355] UNREGISTERED
11:39:34.297 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd76d1d91, /127.0.0.1:56543 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.298 [nioEventLoopGroup-3-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-8
11:39:34.300 [nioEventLoopGroup-20-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:34.301 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd76d1d91, /127.0.0.1:56543 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.302 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd76d1d91, /127.0.0.1:56543 => /127.0.0.1:56534] FLUSH
11:39:34.303 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd76d1d91, /127.0.0.1:56543 => /127.0.0.1:56534] FLUSH
11:39:34.303 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.303 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd76d1d91, /127.0.0.1:56543 :> /127.0.0.1:56534] INACTIVE
11:39:34.303 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd76d1d91, /127.0.0.1:56543 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.303 [nioEventLoopGroup-28-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-28-1
11:39:34.305 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.313 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e731902, /127.0.0.1:56544 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.315 [nioEventLoopGroup-20-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:34.315 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e731902, /127.0.0.1:56544 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.316 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e731902, /127.0.0.1:56544 => /127.0.0.1:56534] FLUSH
11:39:34.317 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e731902, /127.0.0.1:56544 => /127.0.0.1:56534] FLUSH
11:39:34.317 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e731902, /127.0.0.1:56544 :> /127.0.0.1:56534] INACTIVE
11:39:34.318 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e731902, /127.0.0.1:56544 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.320 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.321 [nioEventLoopGroup-29-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-29-1
11:39:34.323 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.330 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b7500b6, /127.0.0.1:56545 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.333 [nioEventLoopGroup-20-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:34.334 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b7500b6, /127.0.0.1:56545 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.336 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b7500b6, /127.0.0.1:56545 => /127.0.0.1:56534] FLUSH
11:39:34.337 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b7500b6, /127.0.0.1:56545 => /127.0.0.1:56534] FLUSH
11:39:34.337 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.338 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b7500b6, /127.0.0.1:56545 :> /127.0.0.1:56534] INACTIVE
11:39:34.338 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b7500b6, /127.0.0.1:56545 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.338 [nioEventLoopGroup-30-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-30-1
11:39:34.339 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.346 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3184237d, /127.0.0.1:56546 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.348 [nioEventLoopGroup-20-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:34.349 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3184237d, /127.0.0.1:56546 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.350 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3184237d, /127.0.0.1:56546 => /127.0.0.1:56534] FLUSH
11:39:34.351 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3184237d, /127.0.0.1:56546 => /127.0.0.1:56534] FLUSH
11:39:34.351 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3184237d, /127.0.0.1:56546 :> /127.0.0.1:56534] INACTIVE
11:39:34.351 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.351 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3184237d, /127.0.0.1:56546 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.352 [nioEventLoopGroup-31-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-31-1
11:39:34.353 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.360 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eb730b6, /127.0.0.1:56547 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:34.363 [nioEventLoopGroup-20-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:34.364 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eb730b6, /127.0.0.1:56547 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.364 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eb730b6, /127.0.0.1:56547 => /127.0.0.1:56534] FLUSH
11:39:34.365 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eb730b6, /127.0.0.1:56547 => /127.0.0.1:56534] FLUSH
11:39:34.365 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.366 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eb730b6, /127.0.0.1:56547 :> /127.0.0.1:56534] INACTIVE
11:39:34.366 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eb730b6, /127.0.0.1:56547 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.366 [nioEventLoopGroup-32-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-32-1
11:39:34.367 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.374 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16ba784d, /127.0.0.1:56548 => /127.0.0.1:56534] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:34.378 [nioEventLoopGroup-20-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:34.378 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16ba784d, /127.0.0.1:56548 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.379 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16ba784d, /127.0.0.1:56548 => /127.0.0.1:56534] FLUSH
11:39:34.380 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16ba784d, /127.0.0.1:56548 => /127.0.0.1:56534] FLUSH
11:39:34.380 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.380 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16ba784d, /127.0.0.1:56548 :> /127.0.0.1:56534] INACTIVE
11:39:34.380 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16ba784d, /127.0.0.1:56548 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.380 [nioEventLoopGroup-33-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-33-1
11:39:34.391 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcca6219c, /127.0.0.1:56549 => /127.0.0.1:56534] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:56534
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:34.393 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.394 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.395 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:34.396 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.397 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.398 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.399 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.400 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.401 [nioEventLoopGroup-20-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:34.403 [nioEventLoopGroup-20-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:34.403 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcca6219c, /127.0.0.1:56549 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:34.403 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcca6219c, /127.0.0.1:56549 => /127.0.0.1:56534] FLUSH
11:39:34.413 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x160b9842, /127.0.0.1:56550 => /127.0.0.1:56534] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:56534
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:34.415 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.417 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.418 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:34.419 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.420 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.421 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.422 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.423 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:34.424 [nioEventLoopGroup-20-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:34.426 [nioEventLoopGroup-20-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56534" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:34.426 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x160b9842, /127.0.0.1:56550 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:34.426 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x160b9842, /127.0.0.1:56550 => /127.0.0.1:56534] FLUSH
11:39:34.427 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:34.445 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0aa35924, /127.0.0.1:56552 => /127.0.0.1:56534] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56534
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:34.446 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0aa35924, /127.0.0.1:56552 => /127.0.0.1:56534] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.446 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0aa35924, /127.0.0.1:56552 => /127.0.0.1:56534] FLUSH
11:39:34.447 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0aa35924, /127.0.0.1:56552 => /127.0.0.1:56534] CLOSE()
11:39:34.448 [nioEventLoopGroup-20-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-4
11:39:34.448 [nioEventLoopGroup-20-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-5
11:39:34.448 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x160b9842, /127.0.0.1:56550 :> /127.0.0.1:56534] INACTIVE
11:39:34.448 [nioEventLoopGroup-20-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-1
11:39:34.448 [nioEventLoopGroup-20-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-2
11:39:34.449 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x160b9842, /127.0.0.1:56550 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.449 [nioEventLoopGroup-20-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-3
11:39:34.449 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcca6219c, /127.0.0.1:56549 :> /127.0.0.1:56534] INACTIVE
11:39:34.449 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.449 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcca6219c, /127.0.0.1:56549 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.449 [nioEventLoopGroup-34-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-34-1
11:39:34.796 [nioEventLoopGroup-3-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-6
11:39:34.796 [nioEventLoopGroup-3-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-7
11:39:34.809 [MockServer thread for port: 56553] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56553
11:39:34.810 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.819 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78826e65, /127.0.0.1:56556 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:34.821 [nioEventLoopGroup-36-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:34.822 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78826e65, /127.0.0.1:56556 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.822 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78826e65, /127.0.0.1:56556 => /127.0.0.1:56553] FLUSH
11:39:34.823 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78826e65, /127.0.0.1:56556 => /127.0.0.1:56553] FLUSH
11:39:34.823 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.823 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78826e65, /127.0.0.1:56556 :> /127.0.0.1:56553] INACTIVE
11:39:34.823 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78826e65, /127.0.0.1:56556 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.824 [nioEventLoopGroup-37-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-37-1
11:39:34.825 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.833 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330f4a4b, /127.0.0.1:56557 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:34.836 [nioEventLoopGroup-36-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:34.837 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330f4a4b, /127.0.0.1:56557 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.837 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330f4a4b, /127.0.0.1:56557 => /127.0.0.1:56553] FLUSH
11:39:34.839 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330f4a4b, /127.0.0.1:56557 => /127.0.0.1:56553] FLUSH
11:39:34.838 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.839 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330f4a4b, /127.0.0.1:56557 :> /127.0.0.1:56553] INACTIVE
11:39:34.839 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330f4a4b, /127.0.0.1:56557 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.839 [nioEventLoopGroup-38-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-38-1
11:39:34.841 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.848 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2a23909, /127.0.0.1:56558 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:34.852 [nioEventLoopGroup-36-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:34.852 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2a23909, /127.0.0.1:56558 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.853 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2a23909, /127.0.0.1:56558 => /127.0.0.1:56553] FLUSH
11:39:34.854 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2a23909, /127.0.0.1:56558 => /127.0.0.1:56553] FLUSH
11:39:34.854 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.854 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2a23909, /127.0.0.1:56558 :> /127.0.0.1:56553] INACTIVE
11:39:34.854 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2a23909, /127.0.0.1:56558 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.854 [nioEventLoopGroup-39-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-39-1
11:39:34.856 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.863 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2de1f0a0, /127.0.0.1:56559 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.866 [nioEventLoopGroup-36-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:34.866 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2de1f0a0, /127.0.0.1:56559 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.867 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2de1f0a0, /127.0.0.1:56559 => /127.0.0.1:56553] FLUSH
11:39:34.867 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.868 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2de1f0a0, /127.0.0.1:56559 => /127.0.0.1:56553] FLUSH
11:39:34.868 [nioEventLoopGroup-40-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-40-1
11:39:34.868 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2de1f0a0, /127.0.0.1:56559 :> /127.0.0.1:56553] INACTIVE
11:39:34.868 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2de1f0a0, /127.0.0.1:56559 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.871 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.878 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x130758a8, /127.0.0.1:56560 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:34.880 [nioEventLoopGroup-36-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:34.881 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x130758a8, /127.0.0.1:56560 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.881 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x130758a8, /127.0.0.1:56560 => /127.0.0.1:56553] FLUSH
11:39:34.882 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x130758a8, /127.0.0.1:56560 => /127.0.0.1:56553] FLUSH
11:39:34.882 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.883 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x130758a8, /127.0.0.1:56560 :> /127.0.0.1:56553] INACTIVE
11:39:34.883 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x130758a8, /127.0.0.1:56560 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.883 [nioEventLoopGroup-41-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-41-1
11:39:34.885 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.891 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7784fdbc, /127.0.0.1:56561 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:34.893 [nioEventLoopGroup-36-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:34.894 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7784fdbc, /127.0.0.1:56561 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.894 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7784fdbc, /127.0.0.1:56561 => /127.0.0.1:56553] FLUSH
11:39:34.895 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7784fdbc, /127.0.0.1:56561 => /127.0.0.1:56553] FLUSH
11:39:34.896 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7784fdbc, /127.0.0.1:56561 :> /127.0.0.1:56553] INACTIVE
11:39:34.896 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7784fdbc, /127.0.0.1:56561 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.899 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.899 [nioEventLoopGroup-42-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-42-1
11:39:34.901 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.908 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8323d625, /127.0.0.1:56562 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:34.910 [nioEventLoopGroup-36-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:34.911 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8323d625, /127.0.0.1:56562 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.911 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8323d625, /127.0.0.1:56562 => /127.0.0.1:56553] FLUSH
11:39:34.912 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8323d625, /127.0.0.1:56562 => /127.0.0.1:56553] FLUSH
11:39:34.913 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8323d625, /127.0.0.1:56562 :> /127.0.0.1:56553] INACTIVE
11:39:34.913 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8323d625, /127.0.0.1:56562 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.912 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.914 [nioEventLoopGroup-43-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-43-1
11:39:34.936 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.942 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b4a6739, /127.0.0.1:56563 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.943 [nioEventLoopGroup-36-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:34.944 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b4a6739, /127.0.0.1:56563 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.944 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b4a6739, /127.0.0.1:56563 => /127.0.0.1:56553] FLUSH
11:39:34.945 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b4a6739, /127.0.0.1:56563 => /127.0.0.1:56553] FLUSH
11:39:34.945 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.945 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b4a6739, /127.0.0.1:56563 :> /127.0.0.1:56553] INACTIVE
11:39:34.945 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b4a6739, /127.0.0.1:56563 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.946 [nioEventLoopGroup-44-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-44-1
11:39:34.947 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.959 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0aa35924, /127.0.0.1:56552 :> /127.0.0.1:56534] FLUSH
11:39:34.959 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0aa35924, /127.0.0.1:56552 :> /127.0.0.1:56534] INACTIVE
11:39:34.960 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0aa35924, /127.0.0.1:56552 :> /127.0.0.1:56534] UNREGISTERED
11:39:34.960 [nioEventLoopGroup-20-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-8
11:39:34.968 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x824cfa47, /127.0.0.1:56564 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.970 [nioEventLoopGroup-36-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:34.970 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x824cfa47, /127.0.0.1:56564 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.971 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x824cfa47, /127.0.0.1:56564 => /127.0.0.1:56553] FLUSH
11:39:34.972 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x824cfa47, /127.0.0.1:56564 => /127.0.0.1:56553] FLUSH
11:39:34.972 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x824cfa47, /127.0.0.1:56564 :> /127.0.0.1:56553] INACTIVE
11:39:34.972 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.972 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x824cfa47, /127.0.0.1:56564 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.972 [nioEventLoopGroup-45-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-45-1
11:39:34.973 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.978 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcef0610b, /127.0.0.1:56565 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.980 [nioEventLoopGroup-36-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:34.981 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcef0610b, /127.0.0.1:56565 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.981 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcef0610b, /127.0.0.1:56565 => /127.0.0.1:56553] FLUSH
11:39:34.982 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcef0610b, /127.0.0.1:56565 => /127.0.0.1:56553] FLUSH
11:39:34.982 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.983 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcef0610b, /127.0.0.1:56565 :> /127.0.0.1:56553] INACTIVE
11:39:34.983 [nioEventLoopGroup-46-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-46-1
11:39:34.983 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcef0610b, /127.0.0.1:56565 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.984 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:34.989 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3251cf5, /127.0.0.1:56566 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:34.991 [nioEventLoopGroup-36-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:34.991 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3251cf5, /127.0.0.1:56566 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:34.991 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3251cf5, /127.0.0.1:56566 => /127.0.0.1:56553] FLUSH
11:39:34.992 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3251cf5, /127.0.0.1:56566 => /127.0.0.1:56553] FLUSH
11:39:34.992 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:34.993 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3251cf5, /127.0.0.1:56566 :> /127.0.0.1:56553] INACTIVE
11:39:34.993 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3251cf5, /127.0.0.1:56566 :> /127.0.0.1:56553] UNREGISTERED
11:39:34.993 [nioEventLoopGroup-47-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-47-1
11:39:34.994 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.000 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589f61d3, /127.0.0.1:56567 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:35.002 [nioEventLoopGroup-36-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:35.003 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589f61d3, /127.0.0.1:56567 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.003 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589f61d3, /127.0.0.1:56567 => /127.0.0.1:56553] FLUSH
11:39:35.004 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589f61d3, /127.0.0.1:56567 => /127.0.0.1:56553] FLUSH
11:39:35.004 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.004 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589f61d3, /127.0.0.1:56567 :> /127.0.0.1:56553] INACTIVE
11:39:35.005 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589f61d3, /127.0.0.1:56567 :> /127.0.0.1:56553] UNREGISTERED
11:39:35.005 [nioEventLoopGroup-48-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-48-1
11:39:35.008 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.014 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c76b3a0, /127.0.0.1:56568 => /127.0.0.1:56553] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:35.016 [nioEventLoopGroup-36-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:35.017 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c76b3a0, /127.0.0.1:56568 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.017 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c76b3a0, /127.0.0.1:56568 => /127.0.0.1:56553] FLUSH
11:39:35.018 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c76b3a0, /127.0.0.1:56568 => /127.0.0.1:56553] FLUSH
11:39:35.018 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.018 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c76b3a0, /127.0.0.1:56568 :> /127.0.0.1:56553] INACTIVE
11:39:35.019 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c76b3a0, /127.0.0.1:56568 :> /127.0.0.1:56553] UNREGISTERED
11:39:35.019 [nioEventLoopGroup-49-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-49-1
11:39:35.028 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22d39875, /127.0.0.1:56569 => /127.0.0.1:56553] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:56553
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:35.029 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.030 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.031 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:35.032 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.033 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.033 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.034 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.035 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.036 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.038 [nioEventLoopGroup-36-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:35.040 [nioEventLoopGroup-36-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:35.041 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22d39875, /127.0.0.1:56569 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:35.041 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22d39875, /127.0.0.1:56569 => /127.0.0.1:56553] FLUSH
11:39:35.065 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa0d52ff, /127.0.0.1:56570 => /127.0.0.1:56553] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:56553
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:35.066 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.068 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.069 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:35.071 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.072 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.074 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.076 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.077 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.082 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.084 [nioEventLoopGroup-36-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:35.133 [nioEventLoopGroup-36-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56553" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:35.134 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa0d52ff, /127.0.0.1:56570 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:35.134 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa0d52ff, /127.0.0.1:56570 => /127.0.0.1:56553] FLUSH
11:39:35.135 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:35.139 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22efa6e7, /127.0.0.1:56571 => /127.0.0.1:56553] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56553
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:35.140 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22efa6e7, /127.0.0.1:56571 => /127.0.0.1:56553] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.141 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22efa6e7, /127.0.0.1:56571 => /127.0.0.1:56553] FLUSH
11:39:35.141 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22efa6e7, /127.0.0.1:56571 => /127.0.0.1:56553] CLOSE()
11:39:35.142 [nioEventLoopGroup-36-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-1
11:39:35.142 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.143 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22d39875, /127.0.0.1:56569 :> /127.0.0.1:56553] INACTIVE
11:39:35.143 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa0d52ff, /127.0.0.1:56570 :> /127.0.0.1:56553] INACTIVE
11:39:35.143 [nioEventLoopGroup-36-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-5
11:39:35.143 [nioEventLoopGroup-36-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-3
11:39:35.143 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22d39875, /127.0.0.1:56569 :> /127.0.0.1:56553] UNREGISTERED
11:39:35.143 [nioEventLoopGroup-36-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-4
11:39:35.143 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa0d52ff, /127.0.0.1:56570 :> /127.0.0.1:56553] UNREGISTERED
11:39:35.143 [nioEventLoopGroup-36-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-2
11:39:35.144 [nioEventLoopGroup-50-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-50-1
11:39:35.450 [nioEventLoopGroup-20-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-7
11:39:35.450 [nioEventLoopGroup-20-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-6
11:39:35.500 [MockServer thread for port: 56572] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56572
11:39:35.501 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.506 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa915908f, /127.0.0.1:56574 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:35.508 [nioEventLoopGroup-52-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:35.509 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa915908f, /127.0.0.1:56574 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.509 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa915908f, /127.0.0.1:56574 => /127.0.0.1:56572] FLUSH
11:39:35.510 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa915908f, /127.0.0.1:56574 => /127.0.0.1:56572] FLUSH
11:39:35.510 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.511 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa915908f, /127.0.0.1:56574 :> /127.0.0.1:56572] INACTIVE
11:39:35.511 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa915908f, /127.0.0.1:56574 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.511 [nioEventLoopGroup-53-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-53-1
11:39:35.512 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.519 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc467205, /127.0.0.1:56575 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:35.521 [nioEventLoopGroup-52-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:35.522 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc467205, /127.0.0.1:56575 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.522 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc467205, /127.0.0.1:56575 => /127.0.0.1:56572] FLUSH
11:39:35.523 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc467205, /127.0.0.1:56575 => /127.0.0.1:56572] FLUSH
11:39:35.523 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.524 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc467205, /127.0.0.1:56575 :> /127.0.0.1:56572] INACTIVE
11:39:35.524 [nioEventLoopGroup-54-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-54-1
11:39:35.524 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc467205, /127.0.0.1:56575 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.526 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.531 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bb917ed, /127.0.0.1:56576 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:35.534 [nioEventLoopGroup-52-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:35.534 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bb917ed, /127.0.0.1:56576 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.534 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bb917ed, /127.0.0.1:56576 => /127.0.0.1:56572] FLUSH
11:39:35.535 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bb917ed, /127.0.0.1:56576 => /127.0.0.1:56572] FLUSH
11:39:35.535 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.536 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bb917ed, /127.0.0.1:56576 :> /127.0.0.1:56572] INACTIVE
11:39:35.536 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bb917ed, /127.0.0.1:56576 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.536 [nioEventLoopGroup-55-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-55-1
11:39:35.537 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.543 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ce26bea, /127.0.0.1:56577 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:35.545 [nioEventLoopGroup-52-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:35.545 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ce26bea, /127.0.0.1:56577 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.545 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ce26bea, /127.0.0.1:56577 => /127.0.0.1:56572] FLUSH
11:39:35.546 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ce26bea, /127.0.0.1:56577 => /127.0.0.1:56572] FLUSH
11:39:35.546 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.547 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ce26bea, /127.0.0.1:56577 :> /127.0.0.1:56572] INACTIVE
11:39:35.547 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ce26bea, /127.0.0.1:56577 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.547 [nioEventLoopGroup-56-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-56-1
11:39:35.548 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.554 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1369543f, /127.0.0.1:56578 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:35.556 [nioEventLoopGroup-52-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:35.556 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1369543f, /127.0.0.1:56578 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.557 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1369543f, /127.0.0.1:56578 => /127.0.0.1:56572] FLUSH
11:39:35.558 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1369543f, /127.0.0.1:56578 => /127.0.0.1:56572] FLUSH
11:39:35.558 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.558 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1369543f, /127.0.0.1:56578 :> /127.0.0.1:56572] INACTIVE
11:39:35.558 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1369543f, /127.0.0.1:56578 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.558 [nioEventLoopGroup-57-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-57-1
11:39:35.560 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.565 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7cb200c, /127.0.0.1:56579 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:35.567 [nioEventLoopGroup-52-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:35.567 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7cb200c, /127.0.0.1:56579 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.568 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7cb200c, /127.0.0.1:56579 => /127.0.0.1:56572] FLUSH
11:39:35.569 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7cb200c, /127.0.0.1:56579 => /127.0.0.1:56572] FLUSH
11:39:35.569 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.569 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7cb200c, /127.0.0.1:56579 :> /127.0.0.1:56572] INACTIVE
11:39:35.569 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7cb200c, /127.0.0.1:56579 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.569 [nioEventLoopGroup-58-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-58-1
11:39:35.570 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.576 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc8921b8c, /127.0.0.1:56580 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:35.577 [nioEventLoopGroup-52-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:35.578 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc8921b8c, /127.0.0.1:56580 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.578 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc8921b8c, /127.0.0.1:56580 => /127.0.0.1:56572] FLUSH
11:39:35.579 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc8921b8c, /127.0.0.1:56580 => /127.0.0.1:56572] FLUSH
11:39:35.579 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.580 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc8921b8c, /127.0.0.1:56580 :> /127.0.0.1:56572] INACTIVE
11:39:35.580 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc8921b8c, /127.0.0.1:56580 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.580 [nioEventLoopGroup-59-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-59-1
11:39:35.581 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.586 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fef13b3, /127.0.0.1:56581 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:35.588 [nioEventLoopGroup-52-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:35.588 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fef13b3, /127.0.0.1:56581 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.588 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fef13b3, /127.0.0.1:56581 => /127.0.0.1:56572] FLUSH
11:39:35.589 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fef13b3, /127.0.0.1:56581 => /127.0.0.1:56572] FLUSH
11:39:35.589 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.590 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fef13b3, /127.0.0.1:56581 :> /127.0.0.1:56572] INACTIVE
11:39:35.590 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fef13b3, /127.0.0.1:56581 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.590 [nioEventLoopGroup-60-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-60-1
11:39:35.591 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.596 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72055a6, /127.0.0.1:56582 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:35.598 [nioEventLoopGroup-52-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:35.598 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72055a6, /127.0.0.1:56582 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.599 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72055a6, /127.0.0.1:56582 => /127.0.0.1:56572] FLUSH
11:39:35.599 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72055a6, /127.0.0.1:56582 => /127.0.0.1:56572] FLUSH
11:39:35.599 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.600 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72055a6, /127.0.0.1:56582 :> /127.0.0.1:56572] INACTIVE
11:39:35.600 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72055a6, /127.0.0.1:56582 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.600 [nioEventLoopGroup-61-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-61-1
11:39:35.601 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.606 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50d71dd4, /127.0.0.1:56583 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:35.607 [nioEventLoopGroup-52-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:35.608 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50d71dd4, /127.0.0.1:56583 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.608 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50d71dd4, /127.0.0.1:56583 => /127.0.0.1:56572] FLUSH
11:39:35.609 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.609 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50d71dd4, /127.0.0.1:56583 => /127.0.0.1:56572] FLUSH
11:39:35.609 [nioEventLoopGroup-62-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-62-1
11:39:35.609 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50d71dd4, /127.0.0.1:56583 :> /127.0.0.1:56572] INACTIVE
11:39:35.609 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50d71dd4, /127.0.0.1:56583 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.611 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.616 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x443543c3, /127.0.0.1:56584 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:35.617 [nioEventLoopGroup-52-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:35.618 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x443543c3, /127.0.0.1:56584 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.618 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x443543c3, /127.0.0.1:56584 => /127.0.0.1:56572] FLUSH
11:39:35.619 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x443543c3, /127.0.0.1:56584 => /127.0.0.1:56572] FLUSH
11:39:35.619 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.619 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x443543c3, /127.0.0.1:56584 :> /127.0.0.1:56572] INACTIVE
11:39:35.619 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x443543c3, /127.0.0.1:56584 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.619 [nioEventLoopGroup-63-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-63-1
11:39:35.620 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.625 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d7a8ac8, /127.0.0.1:56585 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:35.627 [nioEventLoopGroup-52-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:35.627 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d7a8ac8, /127.0.0.1:56585 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.627 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d7a8ac8, /127.0.0.1:56585 => /127.0.0.1:56572] FLUSH
11:39:35.628 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.628 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d7a8ac8, /127.0.0.1:56585 => /127.0.0.1:56572] FLUSH
11:39:35.628 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d7a8ac8, /127.0.0.1:56585 :> /127.0.0.1:56572] INACTIVE
11:39:35.628 [nioEventLoopGroup-64-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-64-1
11:39:35.628 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d7a8ac8, /127.0.0.1:56585 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.630 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:35.634 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x000e2d4b, /127.0.0.1:56586 => /127.0.0.1:56572] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:35.636 [nioEventLoopGroup-52-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:35.637 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x000e2d4b, /127.0.0.1:56586 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.637 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x000e2d4b, /127.0.0.1:56586 => /127.0.0.1:56572] FLUSH
11:39:35.638 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x000e2d4b, /127.0.0.1:56586 => /127.0.0.1:56572] FLUSH
11:39:35.638 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.638 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x000e2d4b, /127.0.0.1:56586 :> /127.0.0.1:56572] INACTIVE
11:39:35.638 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x000e2d4b, /127.0.0.1:56586 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.638 [nioEventLoopGroup-65-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-65-1
11:39:35.642 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22efa6e7, /127.0.0.1:56571 :> /127.0.0.1:56553] FLUSH
11:39:35.642 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22efa6e7, /127.0.0.1:56571 :> /127.0.0.1:56553] INACTIVE
11:39:35.643 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22efa6e7, /127.0.0.1:56571 :> /127.0.0.1:56553] UNREGISTERED
11:39:35.643 [nioEventLoopGroup-36-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-8
11:39:35.647 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4485473f, /127.0.0.1:56587 => /127.0.0.1:56572] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:56572
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:35.648 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.649 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.650 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:35.650 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.651 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.652 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.652 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.653 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.654 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.654 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.655 [nioEventLoopGroup-52-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:35.656 [nioEventLoopGroup-52-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:35.657 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4485473f, /127.0.0.1:56587 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:35.657 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4485473f, /127.0.0.1:56587 => /127.0.0.1:56572] FLUSH
11:39:35.666 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ff985f2, /127.0.0.1:56588 => /127.0.0.1:56572] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:56572
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:35.667 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.668 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.668 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:35.669 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.670 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.670 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.671 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.672 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.673 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.673 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:35.674 [nioEventLoopGroup-52-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:35.675 [nioEventLoopGroup-52-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56572" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:35.676 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ff985f2, /127.0.0.1:56588 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:35.676 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ff985f2, /127.0.0.1:56588 => /127.0.0.1:56572] FLUSH
11:39:35.677 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:35.681 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e14673, /127.0.0.1:56589 => /127.0.0.1:56572] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56572
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:35.682 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e14673, /127.0.0.1:56589 => /127.0.0.1:56572] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:35.682 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e14673, /127.0.0.1:56589 => /127.0.0.1:56572] FLUSH
11:39:35.682 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e14673, /127.0.0.1:56589 => /127.0.0.1:56572] CLOSE()
11:39:35.684 [nioEventLoopGroup-52-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-5
11:39:35.684 [nioEventLoopGroup-52-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-1
11:39:35.684 [nioEventLoopGroup-52-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-3
11:39:35.684 [nioEventLoopGroup-52-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-4
11:39:35.684 [nioEventLoopGroup-52-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-2
11:39:35.684 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4485473f, /127.0.0.1:56587 :> /127.0.0.1:56572] INACTIVE
11:39:35.684 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ff985f2, /127.0.0.1:56588 :> /127.0.0.1:56572] INACTIVE
11:39:35.684 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4485473f, /127.0.0.1:56587 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.684 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:35.685 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ff985f2, /127.0.0.1:56588 :> /127.0.0.1:56572] UNREGISTERED
11:39:35.685 [nioEventLoopGroup-66-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-66-1
11:39:36.045 [MockServer thread for port: 56590] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56590
11:39:36.046 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.051 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac8693bd, /127.0.0.1:56592 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:36.053 [nioEventLoopGroup-68-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:36.054 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac8693bd, /127.0.0.1:56592 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.054 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac8693bd, /127.0.0.1:56592 => /127.0.0.1:56590] FLUSH
11:39:36.055 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac8693bd, /127.0.0.1:56592 => /127.0.0.1:56590] FLUSH
11:39:36.055 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.056 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac8693bd, /127.0.0.1:56592 :> /127.0.0.1:56590] INACTIVE
11:39:36.056 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac8693bd, /127.0.0.1:56592 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.056 [nioEventLoopGroup-69-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-69-1
11:39:36.057 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.062 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04705e1d, /127.0.0.1:56593 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:36.065 [nioEventLoopGroup-68-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:36.065 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04705e1d, /127.0.0.1:56593 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.066 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04705e1d, /127.0.0.1:56593 => /127.0.0.1:56590] FLUSH
11:39:36.067 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04705e1d, /127.0.0.1:56593 => /127.0.0.1:56590] FLUSH
11:39:36.066 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.067 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04705e1d, /127.0.0.1:56593 :> /127.0.0.1:56590] INACTIVE
11:39:36.067 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04705e1d, /127.0.0.1:56593 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.067 [nioEventLoopGroup-70-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-70-1
11:39:36.069 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.087 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae4ca813, /127.0.0.1:56594 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:36.090 [nioEventLoopGroup-68-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:36.090 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae4ca813, /127.0.0.1:56594 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.091 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae4ca813, /127.0.0.1:56594 => /127.0.0.1:56590] FLUSH
11:39:36.092 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae4ca813, /127.0.0.1:56594 => /127.0.0.1:56590] FLUSH
11:39:36.092 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.092 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae4ca813, /127.0.0.1:56594 :> /127.0.0.1:56590] INACTIVE
11:39:36.092 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae4ca813, /127.0.0.1:56594 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.093 [nioEventLoopGroup-71-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-71-1
11:39:36.094 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.101 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9b49748, /127.0.0.1:56595 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.103 [nioEventLoopGroup-68-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:36.103 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9b49748, /127.0.0.1:56595 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.104 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9b49748, /127.0.0.1:56595 => /127.0.0.1:56590] FLUSH
11:39:36.105 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9b49748, /127.0.0.1:56595 => /127.0.0.1:56590] FLUSH
11:39:36.105 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9b49748, /127.0.0.1:56595 :> /127.0.0.1:56590] INACTIVE
11:39:36.105 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9b49748, /127.0.0.1:56595 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.105 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.106 [nioEventLoopGroup-72-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-72-1
11:39:36.107 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.111 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70e52685, /127.0.0.1:56596 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:36.123 [nioEventLoopGroup-68-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:36.123 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70e52685, /127.0.0.1:56596 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.124 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70e52685, /127.0.0.1:56596 => /127.0.0.1:56590] FLUSH
11:39:36.125 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70e52685, /127.0.0.1:56596 => /127.0.0.1:56590] FLUSH
11:39:36.125 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70e52685, /127.0.0.1:56596 :> /127.0.0.1:56590] INACTIVE
11:39:36.125 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70e52685, /127.0.0.1:56596 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.125 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.125 [nioEventLoopGroup-73-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-73-1
11:39:36.127 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.131 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc1a8d19, /127.0.0.1:56597 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:36.133 [nioEventLoopGroup-68-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:36.134 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc1a8d19, /127.0.0.1:56597 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.134 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc1a8d19, /127.0.0.1:56597 => /127.0.0.1:56590] FLUSH
11:39:36.135 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc1a8d19, /127.0.0.1:56597 => /127.0.0.1:56590] FLUSH
11:39:36.135 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.135 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc1a8d19, /127.0.0.1:56597 :> /127.0.0.1:56590] INACTIVE
11:39:36.135 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc1a8d19, /127.0.0.1:56597 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.136 [nioEventLoopGroup-74-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-74-1
11:39:36.137 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.148 [nioEventLoopGroup-36-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-7
11:39:36.148 [nioEventLoopGroup-36-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-6
11:39:36.149 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4736147, /127.0.0.1:56598 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:36.151 [nioEventLoopGroup-68-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:36.151 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4736147, /127.0.0.1:56598 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.152 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4736147, /127.0.0.1:56598 => /127.0.0.1:56590] FLUSH
11:39:36.153 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4736147, /127.0.0.1:56598 => /127.0.0.1:56590] FLUSH
11:39:36.153 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.153 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4736147, /127.0.0.1:56598 :> /127.0.0.1:56590] INACTIVE
11:39:36.153 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4736147, /127.0.0.1:56598 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.154 [nioEventLoopGroup-75-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-75-1
11:39:36.155 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.160 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x502e720b, /127.0.0.1:56599 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.162 [nioEventLoopGroup-68-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:36.162 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x502e720b, /127.0.0.1:56599 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.163 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x502e720b, /127.0.0.1:56599 => /127.0.0.1:56590] FLUSH
11:39:36.164 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x502e720b, /127.0.0.1:56599 => /127.0.0.1:56590] FLUSH
11:39:36.163 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.164 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x502e720b, /127.0.0.1:56599 :> /127.0.0.1:56590] INACTIVE
11:39:36.164 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x502e720b, /127.0.0.1:56599 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.164 [nioEventLoopGroup-76-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-76-1
11:39:36.165 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.170 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfca65474, /127.0.0.1:56600 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.171 [nioEventLoopGroup-68-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:36.171 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfca65474, /127.0.0.1:56600 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.172 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfca65474, /127.0.0.1:56600 => /127.0.0.1:56590] FLUSH
11:39:36.172 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfca65474, /127.0.0.1:56600 => /127.0.0.1:56590] FLUSH
11:39:36.172 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.173 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfca65474, /127.0.0.1:56600 :> /127.0.0.1:56590] INACTIVE
11:39:36.173 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfca65474, /127.0.0.1:56600 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.173 [nioEventLoopGroup-77-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-77-1
11:39:36.174 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.178 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67803b5b, /127.0.0.1:56601 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.180 [nioEventLoopGroup-68-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:36.181 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67803b5b, /127.0.0.1:56601 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.181 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67803b5b, /127.0.0.1:56601 => /127.0.0.1:56590] FLUSH
11:39:36.182 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67803b5b, /127.0.0.1:56601 => /127.0.0.1:56590] FLUSH
11:39:36.182 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.182 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67803b5b, /127.0.0.1:56601 :> /127.0.0.1:56590] INACTIVE
11:39:36.182 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67803b5b, /127.0.0.1:56601 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.183 [nioEventLoopGroup-78-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-78-1
11:39:36.184 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.185 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e14673, /127.0.0.1:56589 :> /127.0.0.1:56572] FLUSH
11:39:36.185 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e14673, /127.0.0.1:56589 :> /127.0.0.1:56572] INACTIVE
11:39:36.185 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e14673, /127.0.0.1:56589 :> /127.0.0.1:56572] UNREGISTERED
11:39:36.185 [nioEventLoopGroup-52-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-8
11:39:36.188 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072b7452, /127.0.0.1:56602 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.189 [nioEventLoopGroup-68-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:36.190 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072b7452, /127.0.0.1:56602 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.190 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072b7452, /127.0.0.1:56602 => /127.0.0.1:56590] FLUSH
11:39:36.191 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072b7452, /127.0.0.1:56602 => /127.0.0.1:56590] FLUSH
11:39:36.191 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072b7452, /127.0.0.1:56602 :> /127.0.0.1:56590] INACTIVE
11:39:36.191 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.191 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072b7452, /127.0.0.1:56602 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.192 [nioEventLoopGroup-79-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-79-1
11:39:36.193 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.198 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab48e2ec, /127.0.0.1:56603 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:36.200 [nioEventLoopGroup-68-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:36.201 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab48e2ec, /127.0.0.1:56603 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.201 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab48e2ec, /127.0.0.1:56603 => /127.0.0.1:56590] FLUSH
11:39:36.202 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab48e2ec, /127.0.0.1:56603 => /127.0.0.1:56590] FLUSH
11:39:36.202 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.202 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab48e2ec, /127.0.0.1:56603 :> /127.0.0.1:56590] INACTIVE
11:39:36.202 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab48e2ec, /127.0.0.1:56603 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.202 [nioEventLoopGroup-80-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-80-1
11:39:36.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.208 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53899bd9, /127.0.0.1:56604 => /127.0.0.1:56590] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:36.211 [nioEventLoopGroup-68-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:36.211 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53899bd9, /127.0.0.1:56604 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.212 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53899bd9, /127.0.0.1:56604 => /127.0.0.1:56590] FLUSH
11:39:36.212 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53899bd9, /127.0.0.1:56604 => /127.0.0.1:56590] FLUSH
11:39:36.212 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.213 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53899bd9, /127.0.0.1:56604 :> /127.0.0.1:56590] INACTIVE
11:39:36.213 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53899bd9, /127.0.0.1:56604 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.213 [nioEventLoopGroup-81-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-81-1
11:39:36.235 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 => /127.0.0.1:56590] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56590
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:36.236 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.237 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.238 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:36.238 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.239 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.240 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.240 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.241 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:36.242 [nioEventLoopGroup-68-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:36.243 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:36.243 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 => /127.0.0.1:56590] FLUSH
11:39:36.256 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 => /127.0.0.1:56590] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56590
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:36.257 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.258 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.259 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:36.259 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.260 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.261 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.262 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.262 [nioEventLoopGroup-68-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:36.263 [nioEventLoopGroup-68-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56590" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:36.264 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:36.264 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 => /127.0.0.1:56590] FLUSH
11:39:36.265 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:36.269 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01dddf75, /127.0.0.1:56606 => /127.0.0.1:56590] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56590
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:36.270 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01dddf75, /127.0.0.1:56606 => /127.0.0.1:56590] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.270 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01dddf75, /127.0.0.1:56606 => /127.0.0.1:56590] FLUSH
11:39:36.270 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01dddf75, /127.0.0.1:56606 => /127.0.0.1:56590] CLOSE()
11:39:36.272 [nioEventLoopGroup-68-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-8
11:39:36.272 [nioEventLoopGroup-68-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-1
11:39:36.272 [nioEventLoopGroup-68-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-2
11:39:36.272 [nioEventLoopGroup-68-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-3
11:39:36.272 [nioEventLoopGroup-68-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-4
11:39:36.272 [nioEventLoopGroup-68-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-5
11:39:36.272 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 :> /127.0.0.1:56590] INACTIVE
11:39:36.272 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1407636a, /127.0.0.1:56605 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.272 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.273 [nioEventLoopGroup-82-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-82-1
11:39:36.628 [MockServer thread for port: 56607] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56607
11:39:36.629 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.634 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x234476c6, /127.0.0.1:56608 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:36.636 [nioEventLoopGroup-84-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:36.636 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x234476c6, /127.0.0.1:56608 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.637 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x234476c6, /127.0.0.1:56608 => /127.0.0.1:56607] FLUSH
11:39:36.638 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x234476c6, /127.0.0.1:56608 => /127.0.0.1:56607] FLUSH
11:39:36.638 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.638 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x234476c6, /127.0.0.1:56608 :> /127.0.0.1:56607] INACTIVE
11:39:36.638 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x234476c6, /127.0.0.1:56608 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.639 [nioEventLoopGroup-85-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-85-1
11:39:36.640 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.644 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc8a9468, /127.0.0.1:56609 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:36.647 [nioEventLoopGroup-84-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:36.647 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc8a9468, /127.0.0.1:56609 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.647 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc8a9468, /127.0.0.1:56609 => /127.0.0.1:56607] FLUSH
11:39:36.648 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.648 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc8a9468, /127.0.0.1:56609 => /127.0.0.1:56607] FLUSH
11:39:36.649 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc8a9468, /127.0.0.1:56609 :> /127.0.0.1:56607] INACTIVE
11:39:36.649 [nioEventLoopGroup-86-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-86-1
11:39:36.650 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc8a9468, /127.0.0.1:56609 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.650 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.656 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a91b67e, /127.0.0.1:56610 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:36.659 [nioEventLoopGroup-84-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:36.660 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a91b67e, /127.0.0.1:56610 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.660 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a91b67e, /127.0.0.1:56610 => /127.0.0.1:56607] FLUSH
11:39:36.661 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a91b67e, /127.0.0.1:56610 => /127.0.0.1:56607] FLUSH
11:39:36.661 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.661 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a91b67e, /127.0.0.1:56610 :> /127.0.0.1:56607] INACTIVE
11:39:36.661 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a91b67e, /127.0.0.1:56610 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.662 [nioEventLoopGroup-87-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-87-1
11:39:36.663 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.669 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0177359, /127.0.0.1:56611 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.670 [nioEventLoopGroup-84-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:36.671 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0177359, /127.0.0.1:56611 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.671 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0177359, /127.0.0.1:56611 => /127.0.0.1:56607] FLUSH
11:39:36.672 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0177359, /127.0.0.1:56611 => /127.0.0.1:56607] FLUSH
11:39:36.672 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.673 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0177359, /127.0.0.1:56611 :> /127.0.0.1:56607] INACTIVE
11:39:36.673 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0177359, /127.0.0.1:56611 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.673 [nioEventLoopGroup-88-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-88-1
11:39:36.674 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.679 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd1acc8b, /127.0.0.1:56612 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:36.681 [nioEventLoopGroup-84-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:36.682 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd1acc8b, /127.0.0.1:56612 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.682 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd1acc8b, /127.0.0.1:56612 => /127.0.0.1:56607] FLUSH
11:39:36.683 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd1acc8b, /127.0.0.1:56612 => /127.0.0.1:56607] FLUSH
11:39:36.683 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.683 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd1acc8b, /127.0.0.1:56612 :> /127.0.0.1:56607] INACTIVE
11:39:36.683 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd1acc8b, /127.0.0.1:56612 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.684 [nioEventLoopGroup-89-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-89-1
11:39:36.685 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.689 [nioEventLoopGroup-52-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-6
11:39:36.689 [nioEventLoopGroup-52-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-7
11:39:36.690 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295bc59d, /127.0.0.1:56613 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:36.693 [nioEventLoopGroup-84-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:36.693 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295bc59d, /127.0.0.1:56613 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.694 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295bc59d, /127.0.0.1:56613 => /127.0.0.1:56607] FLUSH
11:39:36.694 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.695 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295bc59d, /127.0.0.1:56613 => /127.0.0.1:56607] FLUSH
11:39:36.695 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295bc59d, /127.0.0.1:56613 :> /127.0.0.1:56607] INACTIVE
11:39:36.695 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295bc59d, /127.0.0.1:56613 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.695 [nioEventLoopGroup-90-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-90-1
11:39:36.696 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.702 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5bf5c6b, /127.0.0.1:56614 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:36.704 [nioEventLoopGroup-84-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:36.705 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5bf5c6b, /127.0.0.1:56614 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.705 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5bf5c6b, /127.0.0.1:56614 => /127.0.0.1:56607] FLUSH
11:39:36.706 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5bf5c6b, /127.0.0.1:56614 => /127.0.0.1:56607] FLUSH
11:39:36.706 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.706 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5bf5c6b, /127.0.0.1:56614 :> /127.0.0.1:56607] INACTIVE
11:39:36.706 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5bf5c6b, /127.0.0.1:56614 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.706 [nioEventLoopGroup-91-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-91-1
11:39:36.708 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.713 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf10002f, /127.0.0.1:56615 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.715 [nioEventLoopGroup-84-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:36.716 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf10002f, /127.0.0.1:56615 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.716 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf10002f, /127.0.0.1:56615 => /127.0.0.1:56607] FLUSH
11:39:36.717 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf10002f, /127.0.0.1:56615 => /127.0.0.1:56607] FLUSH
11:39:36.717 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.717 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf10002f, /127.0.0.1:56615 :> /127.0.0.1:56607] INACTIVE
11:39:36.717 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcf10002f, /127.0.0.1:56615 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.718 [nioEventLoopGroup-92-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-92-1
11:39:36.740 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.745 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0180bf7e, /127.0.0.1:56616 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.747 [nioEventLoopGroup-84-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:36.747 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0180bf7e, /127.0.0.1:56616 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.748 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0180bf7e, /127.0.0.1:56616 => /127.0.0.1:56607] FLUSH
11:39:36.749 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0180bf7e, /127.0.0.1:56616 => /127.0.0.1:56607] FLUSH
11:39:36.748 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.749 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0180bf7e, /127.0.0.1:56616 :> /127.0.0.1:56607] INACTIVE
11:39:36.749 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0180bf7e, /127.0.0.1:56616 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.749 [nioEventLoopGroup-93-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-93-1
11:39:36.750 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.755 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71312c2, /127.0.0.1:56617 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.756 [nioEventLoopGroup-84-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:36.757 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71312c2, /127.0.0.1:56617 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.757 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71312c2, /127.0.0.1:56617 => /127.0.0.1:56607] FLUSH
11:39:36.758 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71312c2, /127.0.0.1:56617 => /127.0.0.1:56607] FLUSH
11:39:36.758 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.759 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71312c2, /127.0.0.1:56617 :> /127.0.0.1:56607] INACTIVE
11:39:36.759 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71312c2, /127.0.0.1:56617 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.759 [nioEventLoopGroup-94-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-94-1
11:39:36.760 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.764 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9ebb7fc, /127.0.0.1:56618 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:36.766 [nioEventLoopGroup-84-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:36.766 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9ebb7fc, /127.0.0.1:56618 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.766 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9ebb7fc, /127.0.0.1:56618 => /127.0.0.1:56607] FLUSH
11:39:36.767 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9ebb7fc, /127.0.0.1:56618 => /127.0.0.1:56607] FLUSH
11:39:36.767 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.767 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9ebb7fc, /127.0.0.1:56618 :> /127.0.0.1:56607] INACTIVE
11:39:36.767 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9ebb7fc, /127.0.0.1:56618 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.768 [nioEventLoopGroup-95-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-95-1
11:39:36.769 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.774 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa84255d0, /127.0.0.1:56619 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:36.774 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01dddf75, /127.0.0.1:56606 :> /127.0.0.1:56590] FLUSH
11:39:36.774 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01dddf75, /127.0.0.1:56606 :> /127.0.0.1:56590] INACTIVE
11:39:36.774 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01dddf75, /127.0.0.1:56606 :> /127.0.0.1:56590] UNREGISTERED
11:39:36.774 [nioEventLoopGroup-68-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-7
11:39:36.775 [nioEventLoopGroup-84-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:36.776 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa84255d0, /127.0.0.1:56619 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.776 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa84255d0, /127.0.0.1:56619 => /127.0.0.1:56607] FLUSH
11:39:36.777 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa84255d0, /127.0.0.1:56619 => /127.0.0.1:56607] FLUSH
11:39:36.777 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.777 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa84255d0, /127.0.0.1:56619 :> /127.0.0.1:56607] INACTIVE
11:39:36.778 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa84255d0, /127.0.0.1:56619 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.778 [nioEventLoopGroup-96-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-96-1
11:39:36.779 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:36.784 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad75df28, /127.0.0.1:56620 => /127.0.0.1:56607] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:36.786 [nioEventLoopGroup-84-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:36.786 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad75df28, /127.0.0.1:56620 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.787 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad75df28, /127.0.0.1:56620 => /127.0.0.1:56607] FLUSH
11:39:36.787 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad75df28, /127.0.0.1:56620 => /127.0.0.1:56607] FLUSH
11:39:36.787 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.788 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad75df28, /127.0.0.1:56620 :> /127.0.0.1:56607] INACTIVE
11:39:36.788 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad75df28, /127.0.0.1:56620 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.788 [nioEventLoopGroup-97-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-97-1
11:39:36.792 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 => /127.0.0.1:56607] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56607
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:36.793 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.794 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.794 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:36.795 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.796 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.797 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.797 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.798 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.799 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:36.803 [nioEventLoopGroup-84-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:36.803 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:36.803 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 => /127.0.0.1:56607] FLUSH
11:39:36.806 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 => /127.0.0.1:56607] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56607
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:36.809 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.810 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.811 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:36.812 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.813 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.813 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.814 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.815 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:36.816 [nioEventLoopGroup-84-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:36.817 [nioEventLoopGroup-84-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56607" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:36.817 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:36.818 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 => /127.0.0.1:56607] FLUSH
11:39:36.819 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:36.823 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa68742c5, /127.0.0.1:56622 => /127.0.0.1:56607] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56607
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:36.823 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa68742c5, /127.0.0.1:56622 => /127.0.0.1:56607] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:36.823 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa68742c5, /127.0.0.1:56622 => /127.0.0.1:56607] FLUSH
11:39:36.824 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa68742c5, /127.0.0.1:56622 => /127.0.0.1:56607] CLOSE()
11:39:36.825 [nioEventLoopGroup-84-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-1
11:39:36.825 [nioEventLoopGroup-84-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-8
11:39:36.825 [nioEventLoopGroup-84-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-3
11:39:36.825 [nioEventLoopGroup-84-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-5
11:39:36.825 [nioEventLoopGroup-84-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-4
11:39:36.825 [nioEventLoopGroup-84-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-2
11:39:36.826 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 :> /127.0.0.1:56607] INACTIVE
11:39:36.826 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6299c5f2, /127.0.0.1:56621 :> /127.0.0.1:56607] UNREGISTERED
11:39:36.824 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:36.826 [nioEventLoopGroup-98-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-98-1
11:39:37.184 [MockServer thread for port: 56623] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56623
11:39:37.184 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.189 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd526bb4, /127.0.0.1:56625 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:37.191 [nioEventLoopGroup-100-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:37.191 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd526bb4, /127.0.0.1:56625 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.192 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd526bb4, /127.0.0.1:56625 => /127.0.0.1:56623] FLUSH
11:39:37.192 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd526bb4, /127.0.0.1:56625 => /127.0.0.1:56623] FLUSH
11:39:37.192 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.193 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd526bb4, /127.0.0.1:56625 :> /127.0.0.1:56623] INACTIVE
11:39:37.193 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd526bb4, /127.0.0.1:56625 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.193 [nioEventLoopGroup-101-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-101-1
11:39:37.194 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.200 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c5eb332, /127.0.0.1:56626 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:37.203 [nioEventLoopGroup-100-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:37.203 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c5eb332, /127.0.0.1:56626 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.203 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c5eb332, /127.0.0.1:56626 => /127.0.0.1:56623] FLUSH
11:39:37.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.204 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c5eb332, /127.0.0.1:56626 => /127.0.0.1:56623] FLUSH
11:39:37.205 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c5eb332, /127.0.0.1:56626 :> /127.0.0.1:56623] INACTIVE
11:39:37.205 [nioEventLoopGroup-102-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-102-1
11:39:37.205 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c5eb332, /127.0.0.1:56626 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.206 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.210 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb95bc85, /127.0.0.1:56627 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:37.213 [nioEventLoopGroup-100-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:37.213 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb95bc85, /127.0.0.1:56627 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.213 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb95bc85, /127.0.0.1:56627 => /127.0.0.1:56623] FLUSH
11:39:37.214 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb95bc85, /127.0.0.1:56627 => /127.0.0.1:56623] FLUSH
11:39:37.215 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb95bc85, /127.0.0.1:56627 :> /127.0.0.1:56623] INACTIVE
11:39:37.214 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.215 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb95bc85, /127.0.0.1:56627 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.215 [nioEventLoopGroup-103-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-103-1
11:39:37.216 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.221 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34201d80, /127.0.0.1:56628 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.223 [nioEventLoopGroup-100-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:37.223 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34201d80, /127.0.0.1:56628 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.224 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34201d80, /127.0.0.1:56628 => /127.0.0.1:56623] FLUSH
11:39:37.225 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34201d80, /127.0.0.1:56628 => /127.0.0.1:56623] FLUSH
11:39:37.225 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.225 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34201d80, /127.0.0.1:56628 :> /127.0.0.1:56623] INACTIVE
11:39:37.225 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34201d80, /127.0.0.1:56628 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.225 [nioEventLoopGroup-104-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-104-1
11:39:37.226 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.231 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ef4acf7, /127.0.0.1:56629 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:37.233 [nioEventLoopGroup-100-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:37.233 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ef4acf7, /127.0.0.1:56629 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.234 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ef4acf7, /127.0.0.1:56629 => /127.0.0.1:56623] FLUSH
11:39:37.234 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ef4acf7, /127.0.0.1:56629 => /127.0.0.1:56623] FLUSH
11:39:37.234 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.235 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ef4acf7, /127.0.0.1:56629 :> /127.0.0.1:56623] INACTIVE
11:39:37.235 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ef4acf7, /127.0.0.1:56629 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.235 [nioEventLoopGroup-105-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-105-1
11:39:37.236 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.241 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f787f12, /127.0.0.1:56630 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:37.243 [nioEventLoopGroup-100-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:37.244 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f787f12, /127.0.0.1:56630 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.244 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f787f12, /127.0.0.1:56630 => /127.0.0.1:56623] FLUSH
11:39:37.245 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f787f12, /127.0.0.1:56630 => /127.0.0.1:56623] FLUSH
11:39:37.245 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.245 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f787f12, /127.0.0.1:56630 :> /127.0.0.1:56623] INACTIVE
11:39:37.245 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f787f12, /127.0.0.1:56630 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.245 [nioEventLoopGroup-106-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-106-1
11:39:37.246 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.251 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x20a4a2a8, /127.0.0.1:56631 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:37.253 [nioEventLoopGroup-100-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:37.254 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x20a4a2a8, /127.0.0.1:56631 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.254 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x20a4a2a8, /127.0.0.1:56631 => /127.0.0.1:56623] FLUSH
11:39:37.255 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x20a4a2a8, /127.0.0.1:56631 => /127.0.0.1:56623] FLUSH
11:39:37.255 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.255 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x20a4a2a8, /127.0.0.1:56631 :> /127.0.0.1:56623] INACTIVE
11:39:37.255 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x20a4a2a8, /127.0.0.1:56631 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.255 [nioEventLoopGroup-107-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-107-1
11:39:37.256 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.261 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a723ba1, /127.0.0.1:56632 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.262 [nioEventLoopGroup-100-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:37.263 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a723ba1, /127.0.0.1:56632 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.263 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a723ba1, /127.0.0.1:56632 => /127.0.0.1:56623] FLUSH
11:39:37.264 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a723ba1, /127.0.0.1:56632 => /127.0.0.1:56623] FLUSH
11:39:37.264 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.264 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a723ba1, /127.0.0.1:56632 :> /127.0.0.1:56623] INACTIVE
11:39:37.264 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a723ba1, /127.0.0.1:56632 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.264 [nioEventLoopGroup-108-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-108-1
11:39:37.265 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.269 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54a549b3, /127.0.0.1:56633 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.271 [nioEventLoopGroup-100-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:37.271 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54a549b3, /127.0.0.1:56633 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.271 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54a549b3, /127.0.0.1:56633 => /127.0.0.1:56623] FLUSH
11:39:37.272 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54a549b3, /127.0.0.1:56633 => /127.0.0.1:56623] FLUSH
11:39:37.272 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.272 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54a549b3, /127.0.0.1:56633 :> /127.0.0.1:56623] INACTIVE
11:39:37.272 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54a549b3, /127.0.0.1:56633 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.272 [nioEventLoopGroup-109-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-109-1
11:39:37.273 [nioEventLoopGroup-68-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-6
11:39:37.274 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.278 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c076ff5, /127.0.0.1:56634 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.279 [nioEventLoopGroup-100-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:37.280 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c076ff5, /127.0.0.1:56634 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.280 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c076ff5, /127.0.0.1:56634 => /127.0.0.1:56623] FLUSH
11:39:37.281 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c076ff5, /127.0.0.1:56634 => /127.0.0.1:56623] FLUSH
11:39:37.280 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.281 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c076ff5, /127.0.0.1:56634 :> /127.0.0.1:56623] INACTIVE
11:39:37.281 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c076ff5, /127.0.0.1:56634 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.281 [nioEventLoopGroup-110-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-110-1
11:39:37.282 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.286 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e7bb921, /127.0.0.1:56635 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.287 [nioEventLoopGroup-100-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:37.288 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e7bb921, /127.0.0.1:56635 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.288 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e7bb921, /127.0.0.1:56635 => /127.0.0.1:56623] FLUSH
11:39:37.289 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e7bb921, /127.0.0.1:56635 => /127.0.0.1:56623] FLUSH
11:39:37.289 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.289 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e7bb921, /127.0.0.1:56635 :> /127.0.0.1:56623] INACTIVE
11:39:37.289 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e7bb921, /127.0.0.1:56635 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.289 [nioEventLoopGroup-111-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-111-1
11:39:37.291 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.295 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11d06d77, /127.0.0.1:56636 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:37.296 [nioEventLoopGroup-100-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:37.297 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11d06d77, /127.0.0.1:56636 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.297 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11d06d77, /127.0.0.1:56636 => /127.0.0.1:56623] FLUSH
11:39:37.298 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11d06d77, /127.0.0.1:56636 => /127.0.0.1:56623] FLUSH
11:39:37.298 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.298 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11d06d77, /127.0.0.1:56636 :> /127.0.0.1:56623] INACTIVE
11:39:37.299 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11d06d77, /127.0.0.1:56636 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.299 [nioEventLoopGroup-112-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-112-1
11:39:37.300 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.304 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa416ea9f, /127.0.0.1:56637 => /127.0.0.1:56623] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:37.306 [nioEventLoopGroup-100-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:37.306 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa416ea9f, /127.0.0.1:56637 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.306 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa416ea9f, /127.0.0.1:56637 => /127.0.0.1:56623] FLUSH
11:39:37.307 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa416ea9f, /127.0.0.1:56637 => /127.0.0.1:56623] FLUSH
11:39:37.307 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.308 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa416ea9f, /127.0.0.1:56637 :> /127.0.0.1:56623] INACTIVE
11:39:37.308 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa416ea9f, /127.0.0.1:56637 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.308 [nioEventLoopGroup-113-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-113-1
11:39:37.312 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 => /127.0.0.1:56623] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56623
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:37.313 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.314 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.315 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:37.315 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.316 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.317 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.318 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.319 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.319 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.320 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:37.321 [nioEventLoopGroup-100-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:37.322 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:37.322 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 => /127.0.0.1:56623] FLUSH
11:39:37.325 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 => /127.0.0.1:56623] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56623
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:37.326 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.327 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa68742c5, /127.0.0.1:56622 :> /127.0.0.1:56607] FLUSH
11:39:37.327 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa68742c5, /127.0.0.1:56622 :> /127.0.0.1:56607] INACTIVE
11:39:37.327 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa68742c5, /127.0.0.1:56622 :> /127.0.0.1:56607] UNREGISTERED
11:39:37.327 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.327 [nioEventLoopGroup-84-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-7
11:39:37.328 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:37.329 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.330 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.330 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.331 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.332 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.333 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.334 [nioEventLoopGroup-100-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:37.335 [nioEventLoopGroup-100-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56623" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:37.336 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:37.336 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 => /127.0.0.1:56623] FLUSH
11:39:37.337 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:37.341 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6577971, /127.0.0.1:56639 => /127.0.0.1:56623] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56623
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:37.341 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6577971, /127.0.0.1:56639 => /127.0.0.1:56623] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.341 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6577971, /127.0.0.1:56639 => /127.0.0.1:56623] FLUSH
11:39:37.342 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6577971, /127.0.0.1:56639 => /127.0.0.1:56623] CLOSE()
11:39:37.343 [nioEventLoopGroup-100-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-4
11:39:37.343 [nioEventLoopGroup-100-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-1
11:39:37.343 [nioEventLoopGroup-100-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-3
11:39:37.343 [nioEventLoopGroup-100-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-5
11:39:37.343 [nioEventLoopGroup-100-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-8
11:39:37.343 [nioEventLoopGroup-100-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-2
11:39:37.344 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 :> /127.0.0.1:56623] INACTIVE
11:39:37.344 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.344 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe5db04, /127.0.0.1:56638 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.344 [nioEventLoopGroup-114-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-114-1
11:39:37.703 [MockServer thread for port: 56640] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56640
11:39:37.704 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.709 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a29c501, /127.0.0.1:56644 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:37.711 [nioEventLoopGroup-116-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:37.711 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a29c501, /127.0.0.1:56644 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.712 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a29c501, /127.0.0.1:56644 => /127.0.0.1:56640] FLUSH
11:39:37.713 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.713 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a29c501, /127.0.0.1:56644 => /127.0.0.1:56640] FLUSH
11:39:37.713 [nioEventLoopGroup-117-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-117-1
11:39:37.713 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a29c501, /127.0.0.1:56644 :> /127.0.0.1:56640] INACTIVE
11:39:37.713 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a29c501, /127.0.0.1:56644 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.714 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.719 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3edca7a, /127.0.0.1:56645 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:37.721 [nioEventLoopGroup-116-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:37.722 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3edca7a, /127.0.0.1:56645 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.722 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3edca7a, /127.0.0.1:56645 => /127.0.0.1:56640] FLUSH
11:39:37.723 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3edca7a, /127.0.0.1:56645 => /127.0.0.1:56640] FLUSH
11:39:37.723 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.723 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3edca7a, /127.0.0.1:56645 :> /127.0.0.1:56640] INACTIVE
11:39:37.723 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3edca7a, /127.0.0.1:56645 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.723 [nioEventLoopGroup-118-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-118-1
11:39:37.724 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.729 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3cca76, /127.0.0.1:56646 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:37.730 [nioEventLoopGroup-116-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:37.731 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3cca76, /127.0.0.1:56646 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.731 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3cca76, /127.0.0.1:56646 => /127.0.0.1:56640] FLUSH
11:39:37.732 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3cca76, /127.0.0.1:56646 => /127.0.0.1:56640] FLUSH
11:39:37.732 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.732 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3cca76, /127.0.0.1:56646 :> /127.0.0.1:56640] INACTIVE
11:39:37.732 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3cca76, /127.0.0.1:56646 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.733 [nioEventLoopGroup-119-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-119-1
11:39:37.734 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.738 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d989828, /127.0.0.1:56647 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.740 [nioEventLoopGroup-116-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:37.740 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d989828, /127.0.0.1:56647 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.740 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d989828, /127.0.0.1:56647 => /127.0.0.1:56640] FLUSH
11:39:37.741 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d989828, /127.0.0.1:56647 => /127.0.0.1:56640] FLUSH
11:39:37.741 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.741 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d989828, /127.0.0.1:56647 :> /127.0.0.1:56640] INACTIVE
11:39:37.741 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d989828, /127.0.0.1:56647 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.742 [nioEventLoopGroup-120-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-120-1
11:39:37.743 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.747 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82a4174d, /127.0.0.1:56648 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:37.749 [nioEventLoopGroup-116-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:37.750 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82a4174d, /127.0.0.1:56648 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.750 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82a4174d, /127.0.0.1:56648 => /127.0.0.1:56640] FLUSH
11:39:37.751 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.751 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82a4174d, /127.0.0.1:56648 => /127.0.0.1:56640] FLUSH
11:39:37.751 [nioEventLoopGroup-121-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-121-1
11:39:37.751 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82a4174d, /127.0.0.1:56648 :> /127.0.0.1:56640] INACTIVE
11:39:37.751 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82a4174d, /127.0.0.1:56648 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.755 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.760 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf462b883, /127.0.0.1:56649 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:37.762 [nioEventLoopGroup-116-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:37.762 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf462b883, /127.0.0.1:56649 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.762 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf462b883, /127.0.0.1:56649 => /127.0.0.1:56640] FLUSH
11:39:37.763 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf462b883, /127.0.0.1:56649 => /127.0.0.1:56640] FLUSH
11:39:37.763 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.763 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf462b883, /127.0.0.1:56649 :> /127.0.0.1:56640] INACTIVE
11:39:37.763 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf462b883, /127.0.0.1:56649 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.764 [nioEventLoopGroup-122-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-122-1
11:39:37.765 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.769 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51ca09ea, /127.0.0.1:56650 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:37.771 [nioEventLoopGroup-116-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:37.771 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51ca09ea, /127.0.0.1:56650 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.772 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51ca09ea, /127.0.0.1:56650 => /127.0.0.1:56640] FLUSH
11:39:37.772 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51ca09ea, /127.0.0.1:56650 => /127.0.0.1:56640] FLUSH
11:39:37.773 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51ca09ea, /127.0.0.1:56650 :> /127.0.0.1:56640] INACTIVE
11:39:37.772 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.773 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51ca09ea, /127.0.0.1:56650 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.773 [nioEventLoopGroup-123-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-123-1
11:39:37.774 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.779 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ca84a12, /127.0.0.1:56651 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.780 [nioEventLoopGroup-116-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:37.780 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ca84a12, /127.0.0.1:56651 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.781 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ca84a12, /127.0.0.1:56651 => /127.0.0.1:56640] FLUSH
11:39:37.782 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ca84a12, /127.0.0.1:56651 => /127.0.0.1:56640] FLUSH
11:39:37.781 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.782 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ca84a12, /127.0.0.1:56651 :> /127.0.0.1:56640] INACTIVE
11:39:37.782 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ca84a12, /127.0.0.1:56651 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.782 [nioEventLoopGroup-124-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-124-1
11:39:37.783 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.788 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295fee7d, /127.0.0.1:56652 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.789 [nioEventLoopGroup-116-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:37.790 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295fee7d, /127.0.0.1:56652 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.790 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295fee7d, /127.0.0.1:56652 => /127.0.0.1:56640] FLUSH
11:39:37.791 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295fee7d, /127.0.0.1:56652 => /127.0.0.1:56640] FLUSH
11:39:37.791 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295fee7d, /127.0.0.1:56652 :> /127.0.0.1:56640] INACTIVE
11:39:37.791 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x295fee7d, /127.0.0.1:56652 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.791 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.792 [nioEventLoopGroup-125-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-125-1
11:39:37.794 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.800 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x955ee43a, /127.0.0.1:56653 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.802 [nioEventLoopGroup-116-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:37.802 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x955ee43a, /127.0.0.1:56653 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.802 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x955ee43a, /127.0.0.1:56653 => /127.0.0.1:56640] FLUSH
11:39:37.803 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x955ee43a, /127.0.0.1:56653 => /127.0.0.1:56640] FLUSH
11:39:37.803 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x955ee43a, /127.0.0.1:56653 :> /127.0.0.1:56640] INACTIVE
11:39:37.803 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x955ee43a, /127.0.0.1:56653 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.803 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.804 [nioEventLoopGroup-126-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-126-1
11:39:37.806 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.811 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24ba4872, /127.0.0.1:56655 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:37.813 [nioEventLoopGroup-116-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:37.813 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24ba4872, /127.0.0.1:56655 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.814 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24ba4872, /127.0.0.1:56655 => /127.0.0.1:56640] FLUSH
11:39:37.814 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24ba4872, /127.0.0.1:56655 => /127.0.0.1:56640] FLUSH
11:39:37.815 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24ba4872, /127.0.0.1:56655 :> /127.0.0.1:56640] INACTIVE
11:39:37.815 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24ba4872, /127.0.0.1:56655 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.815 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.815 [nioEventLoopGroup-127-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-127-1
11:39:37.817 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.821 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf44e3fd1, /127.0.0.1:56656 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:37.823 [nioEventLoopGroup-116-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:37.823 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf44e3fd1, /127.0.0.1:56656 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.823 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf44e3fd1, /127.0.0.1:56656 => /127.0.0.1:56640] FLUSH
11:39:37.824 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf44e3fd1, /127.0.0.1:56656 => /127.0.0.1:56640] FLUSH
11:39:37.824 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf44e3fd1, /127.0.0.1:56656 :> /127.0.0.1:56640] INACTIVE
11:39:37.825 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf44e3fd1, /127.0.0.1:56656 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.825 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.825 [nioEventLoopGroup-128-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-128-1
11:39:37.827 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:37.830 [nioEventLoopGroup-84-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-6
11:39:37.832 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc23bf2d, /127.0.0.1:56658 => /127.0.0.1:56640] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:37.834 [nioEventLoopGroup-116-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:37.834 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc23bf2d, /127.0.0.1:56658 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.834 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc23bf2d, /127.0.0.1:56658 => /127.0.0.1:56640] FLUSH
11:39:37.835 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc23bf2d, /127.0.0.1:56658 => /127.0.0.1:56640] FLUSH
11:39:37.835 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc23bf2d, /127.0.0.1:56658 :> /127.0.0.1:56640] INACTIVE
11:39:37.835 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc23bf2d, /127.0.0.1:56658 :> /127.0.0.1:56640] UNREGISTERED
11:39:37.835 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.836 [nioEventLoopGroup-129-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-129-1
11:39:37.843 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 => /127.0.0.1:56640] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56640
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:37.844 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6577971, /127.0.0.1:56639 :> /127.0.0.1:56623] FLUSH
11:39:37.844 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6577971, /127.0.0.1:56639 :> /127.0.0.1:56623] INACTIVE
11:39:37.844 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6577971, /127.0.0.1:56639 :> /127.0.0.1:56623] UNREGISTERED
11:39:37.844 [nioEventLoopGroup-100-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-7
11:39:37.844 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.845 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.846 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:37.846 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.847 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.848 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.848 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.849 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.849 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.850 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.850 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:37.851 [nioEventLoopGroup-116-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:37.852 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:37.852 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 => /127.0.0.1:56640] FLUSH
11:39:37.857 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 => /127.0.0.1:56640] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56640
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:37.858 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.858 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.859 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:37.860 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.861 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.862 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.863 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.864 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.864 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.865 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:37.865 [nioEventLoopGroup-116-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:37.867 [nioEventLoopGroup-116-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56640" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:37.868 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:37.868 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 => /127.0.0.1:56640] FLUSH
11:39:37.870 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:37.874 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c25a1f7, /127.0.0.1:56662 => /127.0.0.1:56640] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56640
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:37.875 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c25a1f7, /127.0.0.1:56662 => /127.0.0.1:56640] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:37.875 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c25a1f7, /127.0.0.1:56662 => /127.0.0.1:56640] FLUSH
11:39:37.875 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c25a1f7, /127.0.0.1:56662 => /127.0.0.1:56640] CLOSE()
11:39:37.876 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:37.877 [nioEventLoopGroup-130-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-130-1
11:39:37.878 [nioEventLoopGroup-116-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-8
11:39:37.878 [nioEventLoopGroup-116-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-1
11:39:37.878 [nioEventLoopGroup-116-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-2
11:39:37.878 [nioEventLoopGroup-116-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-3
11:39:37.878 [nioEventLoopGroup-116-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-4
11:39:37.878 [nioEventLoopGroup-116-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-5
11:39:37.879 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 :> /127.0.0.1:56640] INACTIVE
11:39:37.879 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1d254f0, /127.0.0.1:56659 :> /127.0.0.1:56640] UNREGISTERED
11:39:38.237 [MockServer thread for port: 56663] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56663
11:39:38.241 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.245 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc57532d2, /127.0.0.1:56671 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:38.247 [nioEventLoopGroup-132-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:38.247 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc57532d2, /127.0.0.1:56671 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.248 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc57532d2, /127.0.0.1:56671 => /127.0.0.1:56663] FLUSH
11:39:38.248 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc57532d2, /127.0.0.1:56671 => /127.0.0.1:56663] FLUSH
11:39:38.248 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.249 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc57532d2, /127.0.0.1:56671 :> /127.0.0.1:56663] INACTIVE
11:39:38.249 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc57532d2, /127.0.0.1:56671 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.249 [nioEventLoopGroup-133-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-133-1
11:39:38.250 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.255 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf96f7e4c, /127.0.0.1:56672 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:38.257 [nioEventLoopGroup-132-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:38.258 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf96f7e4c, /127.0.0.1:56672 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.258 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf96f7e4c, /127.0.0.1:56672 => /127.0.0.1:56663] FLUSH
11:39:38.259 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf96f7e4c, /127.0.0.1:56672 => /127.0.0.1:56663] FLUSH
11:39:38.259 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.259 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf96f7e4c, /127.0.0.1:56672 :> /127.0.0.1:56663] INACTIVE
11:39:38.259 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf96f7e4c, /127.0.0.1:56672 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.259 [nioEventLoopGroup-134-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-134-1
11:39:38.260 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.264 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x948ea95d, /127.0.0.1:56673 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:38.266 [nioEventLoopGroup-132-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:38.267 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x948ea95d, /127.0.0.1:56673 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.267 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x948ea95d, /127.0.0.1:56673 => /127.0.0.1:56663] FLUSH
11:39:38.268 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x948ea95d, /127.0.0.1:56673 => /127.0.0.1:56663] FLUSH
11:39:38.268 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.268 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x948ea95d, /127.0.0.1:56673 :> /127.0.0.1:56663] INACTIVE
11:39:38.268 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x948ea95d, /127.0.0.1:56673 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.268 [nioEventLoopGroup-135-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-135-1
11:39:38.269 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.274 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e8acb72, /127.0.0.1:56674 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.275 [nioEventLoopGroup-132-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:38.276 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e8acb72, /127.0.0.1:56674 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.276 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e8acb72, /127.0.0.1:56674 => /127.0.0.1:56663] FLUSH
11:39:38.277 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e8acb72, /127.0.0.1:56674 => /127.0.0.1:56663] FLUSH
11:39:38.277 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.277 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e8acb72, /127.0.0.1:56674 :> /127.0.0.1:56663] INACTIVE
11:39:38.277 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e8acb72, /127.0.0.1:56674 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.277 [nioEventLoopGroup-136-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-136-1
11:39:38.279 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.284 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0b6abd9, /127.0.0.1:56675 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:38.285 [nioEventLoopGroup-132-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:38.286 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0b6abd9, /127.0.0.1:56675 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.286 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0b6abd9, /127.0.0.1:56675 => /127.0.0.1:56663] FLUSH
11:39:38.286 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0b6abd9, /127.0.0.1:56675 => /127.0.0.1:56663] FLUSH
11:39:38.286 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.287 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0b6abd9, /127.0.0.1:56675 :> /127.0.0.1:56663] INACTIVE
11:39:38.287 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0b6abd9, /127.0.0.1:56675 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.287 [nioEventLoopGroup-137-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-137-1
11:39:38.289 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.294 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62e77f51, /127.0.0.1:56676 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:38.296 [nioEventLoopGroup-132-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:38.296 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62e77f51, /127.0.0.1:56676 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.296 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62e77f51, /127.0.0.1:56676 => /127.0.0.1:56663] FLUSH
11:39:38.297 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62e77f51, /127.0.0.1:56676 => /127.0.0.1:56663] FLUSH
11:39:38.297 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.297 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62e77f51, /127.0.0.1:56676 :> /127.0.0.1:56663] INACTIVE
11:39:38.297 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62e77f51, /127.0.0.1:56676 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.298 [nioEventLoopGroup-138-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-138-1
11:39:38.299 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.303 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f055907, /127.0.0.1:56677 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:38.304 [nioEventLoopGroup-132-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:38.305 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f055907, /127.0.0.1:56677 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.305 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f055907, /127.0.0.1:56677 => /127.0.0.1:56663] FLUSH
11:39:38.306 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f055907, /127.0.0.1:56677 => /127.0.0.1:56663] FLUSH
11:39:38.306 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.306 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f055907, /127.0.0.1:56677 :> /127.0.0.1:56663] INACTIVE
11:39:38.306 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f055907, /127.0.0.1:56677 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.306 [nioEventLoopGroup-139-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-139-1
11:39:38.307 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.311 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x222f4ba3, /127.0.0.1:56678 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.312 [nioEventLoopGroup-132-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:38.313 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x222f4ba3, /127.0.0.1:56678 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.313 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x222f4ba3, /127.0.0.1:56678 => /127.0.0.1:56663] FLUSH
11:39:38.314 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x222f4ba3, /127.0.0.1:56678 => /127.0.0.1:56663] FLUSH
11:39:38.314 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.314 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x222f4ba3, /127.0.0.1:56678 :> /127.0.0.1:56663] INACTIVE
11:39:38.315 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x222f4ba3, /127.0.0.1:56678 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.315 [nioEventLoopGroup-140-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-140-1
11:39:38.316 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.320 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaeb36b47, /127.0.0.1:56679 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.321 [nioEventLoopGroup-132-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:38.321 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaeb36b47, /127.0.0.1:56679 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.321 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaeb36b47, /127.0.0.1:56679 => /127.0.0.1:56663] FLUSH
11:39:38.322 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaeb36b47, /127.0.0.1:56679 => /127.0.0.1:56663] FLUSH
11:39:38.322 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.322 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaeb36b47, /127.0.0.1:56679 :> /127.0.0.1:56663] INACTIVE
11:39:38.322 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaeb36b47, /127.0.0.1:56679 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.322 [nioEventLoopGroup-141-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-141-1
11:39:38.323 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.328 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3d17cfbb, /127.0.0.1:56680 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.329 [nioEventLoopGroup-132-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:38.329 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3d17cfbb, /127.0.0.1:56680 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.330 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3d17cfbb, /127.0.0.1:56680 => /127.0.0.1:56663] FLUSH
11:39:38.330 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3d17cfbb, /127.0.0.1:56680 => /127.0.0.1:56663] FLUSH
11:39:38.330 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.331 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3d17cfbb, /127.0.0.1:56680 :> /127.0.0.1:56663] INACTIVE
11:39:38.331 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3d17cfbb, /127.0.0.1:56680 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.331 [nioEventLoopGroup-142-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-142-1
11:39:38.332 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.335 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x157dee17, /127.0.0.1:56681 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.337 [nioEventLoopGroup-132-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:38.337 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x157dee17, /127.0.0.1:56681 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.337 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x157dee17, /127.0.0.1:56681 => /127.0.0.1:56663] FLUSH
11:39:38.338 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x157dee17, /127.0.0.1:56681 => /127.0.0.1:56663] FLUSH
11:39:38.338 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.338 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x157dee17, /127.0.0.1:56681 :> /127.0.0.1:56663] INACTIVE
11:39:38.338 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x157dee17, /127.0.0.1:56681 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.338 [nioEventLoopGroup-143-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-143-1
11:39:38.339 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.344 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4df33a5, /127.0.0.1:56682 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:38.346 [nioEventLoopGroup-132-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:38.346 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4df33a5, /127.0.0.1:56682 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.347 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4df33a5, /127.0.0.1:56682 => /127.0.0.1:56663] FLUSH
11:39:38.347 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4df33a5, /127.0.0.1:56682 => /127.0.0.1:56663] FLUSH
11:39:38.347 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.348 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4df33a5, /127.0.0.1:56682 :> /127.0.0.1:56663] INACTIVE
11:39:38.348 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4df33a5, /127.0.0.1:56682 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.348 [nioEventLoopGroup-144-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-144-1
11:39:38.348 [nioEventLoopGroup-100-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-6
11:39:38.349 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.353 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x315147d9, /127.0.0.1:56683 => /127.0.0.1:56663] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:38.355 [nioEventLoopGroup-132-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:38.356 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x315147d9, /127.0.0.1:56683 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.356 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x315147d9, /127.0.0.1:56683 => /127.0.0.1:56663] FLUSH
11:39:38.357 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x315147d9, /127.0.0.1:56683 => /127.0.0.1:56663] FLUSH
11:39:38.357 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.357 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x315147d9, /127.0.0.1:56683 :> /127.0.0.1:56663] INACTIVE
11:39:38.357 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x315147d9, /127.0.0.1:56683 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.357 [nioEventLoopGroup-145-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-145-1
11:39:38.374 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0254d18a, /127.0.0.1:56684 => /127.0.0.1:56663] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:56663
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:38.375 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.376 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.377 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:38.377 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.378 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.379 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.380 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.380 [nioEventLoopGroup-132-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:38.381 [nioEventLoopGroup-132-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:38.382 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0254d18a, /127.0.0.1:56684 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:38.382 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0254d18a, /127.0.0.1:56684 => /127.0.0.1:56663] FLUSH
11:39:38.382 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c25a1f7, /127.0.0.1:56662 :> /127.0.0.1:56640] FLUSH
11:39:38.382 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c25a1f7, /127.0.0.1:56662 :> /127.0.0.1:56640] INACTIVE
11:39:38.382 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c25a1f7, /127.0.0.1:56662 :> /127.0.0.1:56640] UNREGISTERED
11:39:38.383 [nioEventLoopGroup-116-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-7
11:39:38.392 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f49bd8, /127.0.0.1:56685 => /127.0.0.1:56663] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:56663
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:38.393 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.393 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.394 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:38.395 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.395 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.396 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.397 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:38.397 [nioEventLoopGroup-132-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:38.398 [nioEventLoopGroup-132-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56663" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:38.398 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f49bd8, /127.0.0.1:56685 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:38.398 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f49bd8, /127.0.0.1:56685 => /127.0.0.1:56663] FLUSH
11:39:38.400 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:38.403 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d789159, /127.0.0.1:56686 => /127.0.0.1:56663] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56663
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:38.403 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d789159, /127.0.0.1:56686 => /127.0.0.1:56663] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.404 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d789159, /127.0.0.1:56686 => /127.0.0.1:56663] FLUSH
11:39:38.404 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d789159, /127.0.0.1:56686 => /127.0.0.1:56663] CLOSE()
11:39:38.405 [nioEventLoopGroup-132-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-1
11:39:38.522 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f49bd8, /127.0.0.1:56685 :> /127.0.0.1:56663] INACTIVE
11:39:38.522 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f49bd8, /127.0.0.1:56685 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.523 [nioEventLoopGroup-132-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-4
11:39:38.523 [nioEventLoopGroup-132-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-5
11:39:38.523 [nioEventLoopGroup-132-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-2
11:39:38.523 [nioEventLoopGroup-132-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-3
11:39:38.523 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0254d18a, /127.0.0.1:56684 :> /127.0.0.1:56663] INACTIVE
11:39:38.523 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0254d18a, /127.0.0.1:56684 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.523 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.523 [nioEventLoopGroup-146-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-146-1
11:39:38.882 [nioEventLoopGroup-116-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-6
11:39:38.882 [MockServer thread for port: 56692] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56692
11:39:38.883 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.889 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8abbb720, /127.0.0.1:56700 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:38.890 [nioEventLoopGroup-148-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:38.891 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8abbb720, /127.0.0.1:56700 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.891 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8abbb720, /127.0.0.1:56700 => /127.0.0.1:56692] FLUSH
11:39:38.892 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8abbb720, /127.0.0.1:56700 => /127.0.0.1:56692] FLUSH
11:39:38.892 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.893 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8abbb720, /127.0.0.1:56700 :> /127.0.0.1:56692] INACTIVE
11:39:38.893 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8abbb720, /127.0.0.1:56700 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.893 [nioEventLoopGroup-149-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-149-1
11:39:38.894 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.899 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56c2e0ef, /127.0.0.1:56701 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:38.902 [nioEventLoopGroup-148-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:38.902 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56c2e0ef, /127.0.0.1:56701 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.902 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56c2e0ef, /127.0.0.1:56701 => /127.0.0.1:56692] FLUSH
11:39:38.903 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56c2e0ef, /127.0.0.1:56701 => /127.0.0.1:56692] FLUSH
11:39:38.903 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.904 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56c2e0ef, /127.0.0.1:56701 :> /127.0.0.1:56692] INACTIVE
11:39:38.904 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56c2e0ef, /127.0.0.1:56701 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.904 [nioEventLoopGroup-150-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-150-1
11:39:38.905 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d789159, /127.0.0.1:56686 :> /127.0.0.1:56663] FLUSH
11:39:38.905 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d789159, /127.0.0.1:56686 :> /127.0.0.1:56663] INACTIVE
11:39:38.905 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d789159, /127.0.0.1:56686 :> /127.0.0.1:56663] UNREGISTERED
11:39:38.905 [nioEventLoopGroup-132-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-8
11:39:38.906 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.911 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60d9d7b2, /127.0.0.1:56702 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:38.913 [nioEventLoopGroup-148-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:38.913 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60d9d7b2, /127.0.0.1:56702 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.913 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60d9d7b2, /127.0.0.1:56702 => /127.0.0.1:56692] FLUSH
11:39:38.914 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60d9d7b2, /127.0.0.1:56702 => /127.0.0.1:56692] FLUSH
11:39:38.914 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60d9d7b2, /127.0.0.1:56702 :> /127.0.0.1:56692] INACTIVE
11:39:38.914 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60d9d7b2, /127.0.0.1:56702 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.914 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.915 [nioEventLoopGroup-151-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-151-1
11:39:38.916 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.921 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42eda901, /127.0.0.1:56703 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.923 [nioEventLoopGroup-148-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:38.923 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42eda901, /127.0.0.1:56703 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.924 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42eda901, /127.0.0.1:56703 => /127.0.0.1:56692] FLUSH
11:39:38.924 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42eda901, /127.0.0.1:56703 => /127.0.0.1:56692] FLUSH
11:39:38.924 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.925 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42eda901, /127.0.0.1:56703 :> /127.0.0.1:56692] INACTIVE
11:39:38.925 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42eda901, /127.0.0.1:56703 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.925 [nioEventLoopGroup-152-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-152-1
11:39:38.926 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.931 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdff2b51c, /127.0.0.1:56704 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:38.933 [nioEventLoopGroup-148-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:38.934 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdff2b51c, /127.0.0.1:56704 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.934 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdff2b51c, /127.0.0.1:56704 => /127.0.0.1:56692] FLUSH
11:39:38.935 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdff2b51c, /127.0.0.1:56704 => /127.0.0.1:56692] FLUSH
11:39:38.935 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.935 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdff2b51c, /127.0.0.1:56704 :> /127.0.0.1:56692] INACTIVE
11:39:38.935 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdff2b51c, /127.0.0.1:56704 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.936 [nioEventLoopGroup-153-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-153-1
11:39:38.960 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.964 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fc26ac1, /127.0.0.1:56705 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:38.966 [nioEventLoopGroup-148-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:38.966 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fc26ac1, /127.0.0.1:56705 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.967 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fc26ac1, /127.0.0.1:56705 => /127.0.0.1:56692] FLUSH
11:39:38.967 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fc26ac1, /127.0.0.1:56705 => /127.0.0.1:56692] FLUSH
11:39:38.967 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.967 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fc26ac1, /127.0.0.1:56705 :> /127.0.0.1:56692] INACTIVE
11:39:38.967 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fc26ac1, /127.0.0.1:56705 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.968 [nioEventLoopGroup-154-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-154-1
11:39:38.969 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.972 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x023f9538, /127.0.0.1:56706 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:38.974 [nioEventLoopGroup-148-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:38.974 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x023f9538, /127.0.0.1:56706 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.975 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x023f9538, /127.0.0.1:56706 => /127.0.0.1:56692] FLUSH
11:39:38.975 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x023f9538, /127.0.0.1:56706 => /127.0.0.1:56692] FLUSH
11:39:38.975 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.975 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x023f9538, /127.0.0.1:56706 :> /127.0.0.1:56692] INACTIVE
11:39:38.976 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x023f9538, /127.0.0.1:56706 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.976 [nioEventLoopGroup-155-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-155-1
11:39:38.977 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.981 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf982ddc4, /127.0.0.1:56707 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.982 [nioEventLoopGroup-148-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:38.982 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf982ddc4, /127.0.0.1:56707 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.982 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf982ddc4, /127.0.0.1:56707 => /127.0.0.1:56692] FLUSH
11:39:38.983 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf982ddc4, /127.0.0.1:56707 => /127.0.0.1:56692] FLUSH
11:39:38.983 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.983 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf982ddc4, /127.0.0.1:56707 :> /127.0.0.1:56692] INACTIVE
11:39:38.983 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf982ddc4, /127.0.0.1:56707 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.983 [nioEventLoopGroup-156-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-156-1
11:39:38.984 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.988 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00c629d3, /127.0.0.1:56708 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.989 [nioEventLoopGroup-148-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:38.989 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00c629d3, /127.0.0.1:56708 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.990 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00c629d3, /127.0.0.1:56708 => /127.0.0.1:56692] FLUSH
11:39:38.990 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00c629d3, /127.0.0.1:56708 => /127.0.0.1:56692] FLUSH
11:39:38.990 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.990 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00c629d3, /127.0.0.1:56708 :> /127.0.0.1:56692] INACTIVE
11:39:38.990 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00c629d3, /127.0.0.1:56708 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.991 [nioEventLoopGroup-157-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-157-1
11:39:38.992 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:38.995 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x619861ad, /127.0.0.1:56709 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:38.996 [nioEventLoopGroup-148-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:38.997 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x619861ad, /127.0.0.1:56709 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:38.997 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x619861ad, /127.0.0.1:56709 => /127.0.0.1:56692] FLUSH
11:39:38.998 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x619861ad, /127.0.0.1:56709 => /127.0.0.1:56692] FLUSH
11:39:38.997 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:38.998 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x619861ad, /127.0.0.1:56709 :> /127.0.0.1:56692] INACTIVE
11:39:38.998 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x619861ad, /127.0.0.1:56709 :> /127.0.0.1:56692] UNREGISTERED
11:39:38.998 [nioEventLoopGroup-158-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-158-1
11:39:38.999 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.003 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1738776d, /127.0.0.1:56710 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.004 [nioEventLoopGroup-148-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:39.004 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1738776d, /127.0.0.1:56710 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.004 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1738776d, /127.0.0.1:56710 => /127.0.0.1:56692] FLUSH
11:39:39.005 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1738776d, /127.0.0.1:56710 => /127.0.0.1:56692] FLUSH
11:39:39.005 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.005 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1738776d, /127.0.0.1:56710 :> /127.0.0.1:56692] INACTIVE
11:39:39.005 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1738776d, /127.0.0.1:56710 :> /127.0.0.1:56692] UNREGISTERED
11:39:39.006 [nioEventLoopGroup-159-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-159-1
11:39:39.007 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.011 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ded4c8a, /127.0.0.1:56711 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:39.012 [nioEventLoopGroup-148-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:39.013 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ded4c8a, /127.0.0.1:56711 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.013 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ded4c8a, /127.0.0.1:56711 => /127.0.0.1:56692] FLUSH
11:39:39.014 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ded4c8a, /127.0.0.1:56711 => /127.0.0.1:56692] FLUSH
11:39:39.014 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ded4c8a, /127.0.0.1:56711 :> /127.0.0.1:56692] INACTIVE
11:39:39.014 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ded4c8a, /127.0.0.1:56711 :> /127.0.0.1:56692] UNREGISTERED
11:39:39.014 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.014 [nioEventLoopGroup-160-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-160-1
11:39:39.016 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.020 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6225e43c, /127.0.0.1:56713 => /127.0.0.1:56692] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:39.022 [nioEventLoopGroup-148-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:39.022 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6225e43c, /127.0.0.1:56713 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.022 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6225e43c, /127.0.0.1:56713 => /127.0.0.1:56692] FLUSH
11:39:39.023 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6225e43c, /127.0.0.1:56713 => /127.0.0.1:56692] FLUSH
11:39:39.023 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6225e43c, /127.0.0.1:56713 :> /127.0.0.1:56692] INACTIVE
11:39:39.023 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6225e43c, /127.0.0.1:56713 :> /127.0.0.1:56692] UNREGISTERED
11:39:39.023 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.024 [nioEventLoopGroup-161-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-161-1
11:39:39.035 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17223b7d, /127.0.0.1:56714 => /127.0.0.1:56692] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:56692
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:39.036 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.036 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.037 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:39.037 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.038 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.038 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.039 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.039 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.039 [nioEventLoopGroup-148-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:39.040 [nioEventLoopGroup-148-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:39.040 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17223b7d, /127.0.0.1:56714 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:39.041 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17223b7d, /127.0.0.1:56714 => /127.0.0.1:56692] FLUSH
11:39:39.052 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x457fb377, /127.0.0.1:56717 => /127.0.0.1:56692] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:56692
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:39.052 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.053 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.053 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:39.054 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.055 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.055 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.056 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.056 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.056 [nioEventLoopGroup-148-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:39.057 [nioEventLoopGroup-148-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56692" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:39.058 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x457fb377, /127.0.0.1:56717 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:39.058 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x457fb377, /127.0.0.1:56717 => /127.0.0.1:56692] FLUSH
11:39:39.060 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:39.064 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb35499e, /127.0.0.1:56718 => /127.0.0.1:56692] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56692
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:39.064 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb35499e, /127.0.0.1:56718 => /127.0.0.1:56692] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.064 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb35499e, /127.0.0.1:56718 => /127.0.0.1:56692] FLUSH
11:39:39.065 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb35499e, /127.0.0.1:56718 => /127.0.0.1:56692] CLOSE()
11:39:39.066 [nioEventLoopGroup-148-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-3
11:39:39.066 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17223b7d, /127.0.0.1:56714 :> /127.0.0.1:56692] INACTIVE
11:39:39.066 [nioEventLoopGroup-148-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-2
11:39:39.066 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x457fb377, /127.0.0.1:56717 :> /127.0.0.1:56692] INACTIVE
11:39:39.066 [nioEventLoopGroup-148-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-4
11:39:39.067 [nioEventLoopGroup-148-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-1
11:39:39.067 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17223b7d, /127.0.0.1:56714 :> /127.0.0.1:56692] UNREGISTERED
11:39:39.067 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x457fb377, /127.0.0.1:56717 :> /127.0.0.1:56692] UNREGISTERED
11:39:39.067 [nioEventLoopGroup-148-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-5
11:39:39.067 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.068 [nioEventLoopGroup-162-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-162-1
11:39:39.424 [MockServer thread for port: 56720] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56720
11:39:39.424 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.429 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaae43385, /127.0.0.1:56728 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:39.431 [nioEventLoopGroup-164-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:39.432 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaae43385, /127.0.0.1:56728 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.432 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaae43385, /127.0.0.1:56728 => /127.0.0.1:56720] FLUSH
11:39:39.433 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaae43385, /127.0.0.1:56728 => /127.0.0.1:56720] FLUSH
11:39:39.432 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.433 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaae43385, /127.0.0.1:56728 :> /127.0.0.1:56720] INACTIVE
11:39:39.433 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaae43385, /127.0.0.1:56728 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.433 [nioEventLoopGroup-165-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-165-1
11:39:39.434 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.439 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5fe26074, /127.0.0.1:56729 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:39.441 [nioEventLoopGroup-164-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:39.441 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5fe26074, /127.0.0.1:56729 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.442 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5fe26074, /127.0.0.1:56729 => /127.0.0.1:56720] FLUSH
11:39:39.442 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.442 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5fe26074, /127.0.0.1:56729 => /127.0.0.1:56720] FLUSH
11:39:39.442 [nioEventLoopGroup-166-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-166-1
11:39:39.442 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5fe26074, /127.0.0.1:56729 :> /127.0.0.1:56720] INACTIVE
11:39:39.443 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5fe26074, /127.0.0.1:56729 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.444 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.448 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0362df7a, /127.0.0.1:56730 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:39.449 [nioEventLoopGroup-164-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:39.450 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0362df7a, /127.0.0.1:56730 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.450 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0362df7a, /127.0.0.1:56730 => /127.0.0.1:56720] FLUSH
11:39:39.451 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0362df7a, /127.0.0.1:56730 => /127.0.0.1:56720] FLUSH
11:39:39.451 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.451 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0362df7a, /127.0.0.1:56730 :> /127.0.0.1:56720] INACTIVE
11:39:39.451 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0362df7a, /127.0.0.1:56730 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.451 [nioEventLoopGroup-167-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-167-1
11:39:39.452 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.456 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa868212e, /127.0.0.1:56731 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.457 [nioEventLoopGroup-164-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:39.458 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa868212e, /127.0.0.1:56731 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.458 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa868212e, /127.0.0.1:56731 => /127.0.0.1:56720] FLUSH
11:39:39.459 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa868212e, /127.0.0.1:56731 => /127.0.0.1:56720] FLUSH
11:39:39.459 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.459 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa868212e, /127.0.0.1:56731 :> /127.0.0.1:56720] INACTIVE
11:39:39.459 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa868212e, /127.0.0.1:56731 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.459 [nioEventLoopGroup-168-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-168-1
11:39:39.460 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.464 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5696e4cc, /127.0.0.1:56732 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:39.465 [nioEventLoopGroup-164-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:39.466 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5696e4cc, /127.0.0.1:56732 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.466 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5696e4cc, /127.0.0.1:56732 => /127.0.0.1:56720] FLUSH
11:39:39.467 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5696e4cc, /127.0.0.1:56732 => /127.0.0.1:56720] FLUSH
11:39:39.467 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.467 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5696e4cc, /127.0.0.1:56732 :> /127.0.0.1:56720] INACTIVE
11:39:39.467 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5696e4cc, /127.0.0.1:56732 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.467 [nioEventLoopGroup-169-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-169-1
11:39:39.469 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.473 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87902878, /127.0.0.1:56733 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:39.474 [nioEventLoopGroup-164-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:39.474 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87902878, /127.0.0.1:56733 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.474 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87902878, /127.0.0.1:56733 => /127.0.0.1:56720] FLUSH
11:39:39.475 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.475 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87902878, /127.0.0.1:56733 => /127.0.0.1:56720] FLUSH
11:39:39.476 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87902878, /127.0.0.1:56733 :> /127.0.0.1:56720] INACTIVE
11:39:39.476 [nioEventLoopGroup-170-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-170-1
11:39:39.476 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87902878, /127.0.0.1:56733 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.477 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.481 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c334c7, /127.0.0.1:56734 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:39.482 [nioEventLoopGroup-164-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:39.482 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c334c7, /127.0.0.1:56734 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.483 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c334c7, /127.0.0.1:56734 => /127.0.0.1:56720] FLUSH
11:39:39.483 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c334c7, /127.0.0.1:56734 => /127.0.0.1:56720] FLUSH
11:39:39.483 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.484 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c334c7, /127.0.0.1:56734 :> /127.0.0.1:56720] INACTIVE
11:39:39.484 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c334c7, /127.0.0.1:56734 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.484 [nioEventLoopGroup-171-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-171-1
11:39:39.485 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.489 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a73dce6, /127.0.0.1:56735 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.490 [nioEventLoopGroup-164-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:39.490 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a73dce6, /127.0.0.1:56735 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.490 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a73dce6, /127.0.0.1:56735 => /127.0.0.1:56720] FLUSH
11:39:39.491 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a73dce6, /127.0.0.1:56735 => /127.0.0.1:56720] FLUSH
11:39:39.491 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.491 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a73dce6, /127.0.0.1:56735 :> /127.0.0.1:56720] INACTIVE
11:39:39.491 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a73dce6, /127.0.0.1:56735 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.492 [nioEventLoopGroup-172-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-172-1
11:39:39.492 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.496 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd1821d3, /127.0.0.1:56736 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.497 [nioEventLoopGroup-164-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:39.497 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd1821d3, /127.0.0.1:56736 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.497 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd1821d3, /127.0.0.1:56736 => /127.0.0.1:56720] FLUSH
11:39:39.498 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd1821d3, /127.0.0.1:56736 => /127.0.0.1:56720] FLUSH
11:39:39.498 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.498 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd1821d3, /127.0.0.1:56736 :> /127.0.0.1:56720] INACTIVE
11:39:39.498 [nioEventLoopGroup-173-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-173-1
11:39:39.498 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd1821d3, /127.0.0.1:56736 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.499 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.503 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x474c9e89, /127.0.0.1:56737 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.504 [nioEventLoopGroup-164-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:39.504 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x474c9e89, /127.0.0.1:56737 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.504 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x474c9e89, /127.0.0.1:56737 => /127.0.0.1:56720] FLUSH
11:39:39.505 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x474c9e89, /127.0.0.1:56737 => /127.0.0.1:56720] FLUSH
11:39:39.505 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.505 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x474c9e89, /127.0.0.1:56737 :> /127.0.0.1:56720] INACTIVE
11:39:39.505 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x474c9e89, /127.0.0.1:56737 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.505 [nioEventLoopGroup-174-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-174-1
11:39:39.506 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.510 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x415a4c0a, /127.0.0.1:56738 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.511 [nioEventLoopGroup-164-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:39.512 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x415a4c0a, /127.0.0.1:56738 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.512 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x415a4c0a, /127.0.0.1:56738 => /127.0.0.1:56720] FLUSH
11:39:39.512 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.513 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x415a4c0a, /127.0.0.1:56738 => /127.0.0.1:56720] FLUSH
11:39:39.513 [nioEventLoopGroup-175-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-175-1
11:39:39.513 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x415a4c0a, /127.0.0.1:56738 :> /127.0.0.1:56720] INACTIVE
11:39:39.513 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x415a4c0a, /127.0.0.1:56738 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.514 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.518 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15a897a8, /127.0.0.1:56739 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:39.519 [nioEventLoopGroup-164-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:39.520 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15a897a8, /127.0.0.1:56739 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.520 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15a897a8, /127.0.0.1:56739 => /127.0.0.1:56720] FLUSH
11:39:39.520 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15a897a8, /127.0.0.1:56739 => /127.0.0.1:56720] FLUSH
11:39:39.520 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.521 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15a897a8, /127.0.0.1:56739 :> /127.0.0.1:56720] INACTIVE
11:39:39.521 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15a897a8, /127.0.0.1:56739 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.521 [nioEventLoopGroup-176-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-176-1
11:39:39.522 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.523 [nioEventLoopGroup-132-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-7
11:39:39.526 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8333430a, /127.0.0.1:56740 => /127.0.0.1:56720] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:39.527 [nioEventLoopGroup-164-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:39.528 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8333430a, /127.0.0.1:56740 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.528 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8333430a, /127.0.0.1:56740 => /127.0.0.1:56720] FLUSH
11:39:39.528 [nioEventLoopGroup-132-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-6
11:39:39.528 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8333430a, /127.0.0.1:56740 => /127.0.0.1:56720] FLUSH
11:39:39.528 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.529 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8333430a, /127.0.0.1:56740 :> /127.0.0.1:56720] INACTIVE
11:39:39.529 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8333430a, /127.0.0.1:56740 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.529 [nioEventLoopGroup-177-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-177-1
11:39:39.537 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e4f64b0, /127.0.0.1:56741 => /127.0.0.1:56720] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:56720
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:39.537 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.538 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.538 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:39.539 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.539 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.540 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.540 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.541 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.541 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.542 [nioEventLoopGroup-164-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:39.542 [nioEventLoopGroup-164-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:39.543 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e4f64b0, /127.0.0.1:56741 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:39.543 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e4f64b0, /127.0.0.1:56741 => /127.0.0.1:56720] FLUSH
11:39:39.551 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd09f10b, /127.0.0.1:56742 => /127.0.0.1:56720] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:56720
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:39.552 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.552 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.553 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:39.553 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.553 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.554 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.554 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.555 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.555 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:39.555 [nioEventLoopGroup-164-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:39.556 [nioEventLoopGroup-164-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56720" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:39.556 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd09f10b, /127.0.0.1:56742 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:39.557 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd09f10b, /127.0.0.1:56742 => /127.0.0.1:56720] FLUSH
11:39:39.558 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:39.562 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2db4c768, /127.0.0.1:56743 => /127.0.0.1:56720] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56720
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:39.563 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2db4c768, /127.0.0.1:56743 => /127.0.0.1:56720] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.563 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2db4c768, /127.0.0.1:56743 => /127.0.0.1:56720] FLUSH
11:39:39.563 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2db4c768, /127.0.0.1:56743 => /127.0.0.1:56720] CLOSE()
11:39:39.564 [nioEventLoopGroup-164-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-5
11:39:39.564 [nioEventLoopGroup-164-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-4
11:39:39.565 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd09f10b, /127.0.0.1:56742 :> /127.0.0.1:56720] INACTIVE
11:39:39.565 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd09f10b, /127.0.0.1:56742 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.565 [nioEventLoopGroup-164-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-2
11:39:39.565 [nioEventLoopGroup-164-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-1
11:39:39.565 [nioEventLoopGroup-164-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-3
11:39:39.564 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.565 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e4f64b0, /127.0.0.1:56741 :> /127.0.0.1:56720] INACTIVE
11:39:39.565 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e4f64b0, /127.0.0.1:56741 :> /127.0.0.1:56720] UNREGISTERED
11:39:39.565 [nioEventLoopGroup-178-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-178-1
11:39:39.566 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb35499e, /127.0.0.1:56718 :> /127.0.0.1:56692] FLUSH
11:39:39.566 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb35499e, /127.0.0.1:56718 :> /127.0.0.1:56692] INACTIVE
11:39:39.566 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb35499e, /127.0.0.1:56718 :> /127.0.0.1:56692] UNREGISTERED
11:39:39.566 [nioEventLoopGroup-148-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-8
11:39:39.924 [MockServer thread for port: 56744] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56744
11:39:39.924 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.930 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f026a, /127.0.0.1:56758 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:39.931 [nioEventLoopGroup-180-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:39.931 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f026a, /127.0.0.1:56758 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.932 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f026a, /127.0.0.1:56758 => /127.0.0.1:56744] FLUSH
11:39:39.932 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f026a, /127.0.0.1:56758 => /127.0.0.1:56744] FLUSH
11:39:39.932 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.932 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f026a, /127.0.0.1:56758 :> /127.0.0.1:56744] INACTIVE
11:39:39.933 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b7f026a, /127.0.0.1:56758 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.933 [nioEventLoopGroup-181-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-181-1
11:39:39.934 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.938 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x998ee57e, /127.0.0.1:56759 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:39.939 [nioEventLoopGroup-180-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:39.940 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x998ee57e, /127.0.0.1:56759 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.940 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x998ee57e, /127.0.0.1:56759 => /127.0.0.1:56744] FLUSH
11:39:39.941 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x998ee57e, /127.0.0.1:56759 => /127.0.0.1:56744] FLUSH
11:39:39.941 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.941 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x998ee57e, /127.0.0.1:56759 :> /127.0.0.1:56744] INACTIVE
11:39:39.941 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x998ee57e, /127.0.0.1:56759 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.941 [nioEventLoopGroup-182-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-182-1
11:39:39.942 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.946 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63c17056, /127.0.0.1:56760 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:39.948 [nioEventLoopGroup-180-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:39.948 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63c17056, /127.0.0.1:56760 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.948 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63c17056, /127.0.0.1:56760 => /127.0.0.1:56744] FLUSH
11:39:39.949 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63c17056, /127.0.0.1:56760 => /127.0.0.1:56744] FLUSH
11:39:39.949 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.949 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63c17056, /127.0.0.1:56760 :> /127.0.0.1:56744] INACTIVE
11:39:39.950 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63c17056, /127.0.0.1:56760 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.950 [nioEventLoopGroup-183-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-183-1
11:39:39.951 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.955 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4b1061ed, /127.0.0.1:56761 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.956 [nioEventLoopGroup-180-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:39.957 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4b1061ed, /127.0.0.1:56761 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.957 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4b1061ed, /127.0.0.1:56761 => /127.0.0.1:56744] FLUSH
11:39:39.958 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4b1061ed, /127.0.0.1:56761 => /127.0.0.1:56744] FLUSH
11:39:39.958 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.958 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4b1061ed, /127.0.0.1:56761 :> /127.0.0.1:56744] INACTIVE
11:39:39.958 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4b1061ed, /127.0.0.1:56761 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.958 [nioEventLoopGroup-184-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-184-1
11:39:39.959 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.963 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ab8cf96, /127.0.0.1:56762 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:39.965 [nioEventLoopGroup-180-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:39.965 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ab8cf96, /127.0.0.1:56762 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.965 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ab8cf96, /127.0.0.1:56762 => /127.0.0.1:56744] FLUSH
11:39:39.966 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ab8cf96, /127.0.0.1:56762 => /127.0.0.1:56744] FLUSH
11:39:39.966 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.966 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ab8cf96, /127.0.0.1:56762 :> /127.0.0.1:56744] INACTIVE
11:39:39.966 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ab8cf96, /127.0.0.1:56762 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.966 [nioEventLoopGroup-185-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-185-1
11:39:39.968 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.971 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf00f30b6, /127.0.0.1:56763 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:39.973 [nioEventLoopGroup-180-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:39.973 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf00f30b6, /127.0.0.1:56763 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.973 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf00f30b6, /127.0.0.1:56763 => /127.0.0.1:56744] FLUSH
11:39:39.974 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf00f30b6, /127.0.0.1:56763 => /127.0.0.1:56744] FLUSH
11:39:39.974 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.974 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf00f30b6, /127.0.0.1:56763 :> /127.0.0.1:56744] INACTIVE
11:39:39.974 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf00f30b6, /127.0.0.1:56763 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.975 [nioEventLoopGroup-186-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-186-1
11:39:39.976 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.980 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca495952, /127.0.0.1:56764 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:39.982 [nioEventLoopGroup-180-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:39.982 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca495952, /127.0.0.1:56764 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.983 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca495952, /127.0.0.1:56764 => /127.0.0.1:56744] FLUSH
11:39:39.983 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca495952, /127.0.0.1:56764 => /127.0.0.1:56744] FLUSH
11:39:39.983 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.984 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca495952, /127.0.0.1:56764 :> /127.0.0.1:56744] INACTIVE
11:39:39.984 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca495952, /127.0.0.1:56764 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.984 [nioEventLoopGroup-187-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-187-1
11:39:39.985 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.988 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0edbe5a3, /127.0.0.1:56765 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.989 [nioEventLoopGroup-180-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:39.990 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0edbe5a3, /127.0.0.1:56765 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.990 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0edbe5a3, /127.0.0.1:56765 => /127.0.0.1:56744] FLUSH
11:39:39.991 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0edbe5a3, /127.0.0.1:56765 => /127.0.0.1:56744] FLUSH
11:39:39.991 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.991 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0edbe5a3, /127.0.0.1:56765 :> /127.0.0.1:56744] INACTIVE
11:39:39.991 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0edbe5a3, /127.0.0.1:56765 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.991 [nioEventLoopGroup-188-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-188-1
11:39:39.992 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:39.996 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x751b090e, /127.0.0.1:56766 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:39.997 [nioEventLoopGroup-180-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:39.997 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x751b090e, /127.0.0.1:56766 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:39.997 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x751b090e, /127.0.0.1:56766 => /127.0.0.1:56744] FLUSH
11:39:39.998 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x751b090e, /127.0.0.1:56766 => /127.0.0.1:56744] FLUSH
11:39:39.998 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:39.998 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x751b090e, /127.0.0.1:56766 :> /127.0.0.1:56744] INACTIVE
11:39:39.998 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x751b090e, /127.0.0.1:56766 :> /127.0.0.1:56744] UNREGISTERED
11:39:39.998 [nioEventLoopGroup-189-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-189-1
11:39:39.999 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.002 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49c13d30, /127.0.0.1:56767 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.003 [nioEventLoopGroup-180-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:40.004 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49c13d30, /127.0.0.1:56767 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.004 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49c13d30, /127.0.0.1:56767 => /127.0.0.1:56744] FLUSH
11:39:40.005 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49c13d30, /127.0.0.1:56767 => /127.0.0.1:56744] FLUSH
11:39:40.004 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.005 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49c13d30, /127.0.0.1:56767 :> /127.0.0.1:56744] INACTIVE
11:39:40.005 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49c13d30, /127.0.0.1:56767 :> /127.0.0.1:56744] UNREGISTERED
11:39:40.005 [nioEventLoopGroup-190-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-190-1
11:39:40.006 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.009 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4df81e6, /127.0.0.1:56768 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.010 [nioEventLoopGroup-180-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:40.011 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4df81e6, /127.0.0.1:56768 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.011 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4df81e6, /127.0.0.1:56768 => /127.0.0.1:56744] FLUSH
11:39:40.012 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4df81e6, /127.0.0.1:56768 => /127.0.0.1:56744] FLUSH
11:39:40.012 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.012 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4df81e6, /127.0.0.1:56768 :> /127.0.0.1:56744] INACTIVE
11:39:40.012 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4df81e6, /127.0.0.1:56768 :> /127.0.0.1:56744] UNREGISTERED
11:39:40.012 [nioEventLoopGroup-191-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-191-1
11:39:40.013 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.017 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e23cd6f, /127.0.0.1:56769 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:40.018 [nioEventLoopGroup-180-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:40.018 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e23cd6f, /127.0.0.1:56769 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.018 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e23cd6f, /127.0.0.1:56769 => /127.0.0.1:56744] FLUSH
11:39:40.019 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e23cd6f, /127.0.0.1:56769 => /127.0.0.1:56744] FLUSH
11:39:40.019 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.019 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e23cd6f, /127.0.0.1:56769 :> /127.0.0.1:56744] INACTIVE
11:39:40.019 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e23cd6f, /127.0.0.1:56769 :> /127.0.0.1:56744] UNREGISTERED
11:39:40.019 [nioEventLoopGroup-192-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-192-1
11:39:40.020 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.024 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0ba841a, /127.0.0.1:56770 => /127.0.0.1:56744] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:40.026 [nioEventLoopGroup-180-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:40.026 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0ba841a, /127.0.0.1:56770 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.027 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0ba841a, /127.0.0.1:56770 => /127.0.0.1:56744] FLUSH
11:39:40.027 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.028 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0ba841a, /127.0.0.1:56770 => /127.0.0.1:56744] FLUSH
11:39:40.028 [nioEventLoopGroup-193-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-193-1
11:39:40.028 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0ba841a, /127.0.0.1:56770 :> /127.0.0.1:56744] INACTIVE
11:39:40.028 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0ba841a, /127.0.0.1:56770 :> /127.0.0.1:56744] UNREGISTERED
11:39:40.035 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b71612b, /127.0.0.1:56771 => /127.0.0.1:56744] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:56744
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:40.036 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.037 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.037 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:40.038 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.038 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.039 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.040 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.040 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.041 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.041 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.042 [nioEventLoopGroup-180-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:40.042 [nioEventLoopGroup-180-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:40.043 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b71612b, /127.0.0.1:56771 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:40.043 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b71612b, /127.0.0.1:56771 => /127.0.0.1:56744] FLUSH
11:39:40.059 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c7db6cd, /127.0.0.1:56772 => /127.0.0.1:56744] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:56744
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:40.060 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.061 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.061 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:40.062 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.062 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.062 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.063 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.063 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.063 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.064 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.064 [nioEventLoopGroup-180-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:40.065 [nioEventLoopGroup-180-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56744" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:40.065 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c7db6cd, /127.0.0.1:56772 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:40.065 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c7db6cd, /127.0.0.1:56772 => /127.0.0.1:56744] FLUSH
11:39:40.066 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2db4c768, /127.0.0.1:56743 :> /127.0.0.1:56720] FLUSH
11:39:40.066 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2db4c768, /127.0.0.1:56743 :> /127.0.0.1:56720] INACTIVE
11:39:40.066 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2db4c768, /127.0.0.1:56743 :> /127.0.0.1:56720] UNREGISTERED
11:39:40.067 [nioEventLoopGroup-164-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-8
11:39:40.068 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:40.069 [nioEventLoopGroup-148-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-7
11:39:40.069 [nioEventLoopGroup-148-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-6
11:39:40.071 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2086150, /127.0.0.1:56773 => /127.0.0.1:56744] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56744
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:40.071 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2086150, /127.0.0.1:56773 => /127.0.0.1:56744] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.071 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2086150, /127.0.0.1:56773 => /127.0.0.1:56744] FLUSH
11:39:40.071 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2086150, /127.0.0.1:56773 => /127.0.0.1:56744] CLOSE()
11:39:40.073 [nioEventLoopGroup-180-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-4
11:39:40.073 [nioEventLoopGroup-180-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-5
11:39:40.073 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c7db6cd, /127.0.0.1:56772 :> /127.0.0.1:56744] INACTIVE
11:39:40.073 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c7db6cd, /127.0.0.1:56772 :> /127.0.0.1:56744] UNREGISTERED
11:39:40.073 [nioEventLoopGroup-180-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-1
11:39:40.073 [nioEventLoopGroup-180-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-2
11:39:40.073 [nioEventLoopGroup-180-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-3
11:39:40.073 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b71612b, /127.0.0.1:56771 :> /127.0.0.1:56744] INACTIVE
11:39:40.073 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b71612b, /127.0.0.1:56771 :> /127.0.0.1:56744] UNREGISTERED
11:39:40.072 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.073 [nioEventLoopGroup-194-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-194-1
11:39:40.435 [MockServer thread for port: 56774] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56774
11:39:40.436 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.440 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b3ee8b7, /127.0.0.1:56786 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:40.442 [nioEventLoopGroup-196-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:40.442 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b3ee8b7, /127.0.0.1:56786 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.442 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b3ee8b7, /127.0.0.1:56786 => /127.0.0.1:56774] FLUSH
11:39:40.443 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b3ee8b7, /127.0.0.1:56786 => /127.0.0.1:56774] FLUSH
11:39:40.443 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.443 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b3ee8b7, /127.0.0.1:56786 :> /127.0.0.1:56774] INACTIVE
11:39:40.443 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b3ee8b7, /127.0.0.1:56786 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.444 [nioEventLoopGroup-197-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-197-1
11:39:40.445 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.448 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde97ad49, /127.0.0.1:56787 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:40.450 [nioEventLoopGroup-196-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:40.450 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde97ad49, /127.0.0.1:56787 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.451 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde97ad49, /127.0.0.1:56787 => /127.0.0.1:56774] FLUSH
11:39:40.451 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde97ad49, /127.0.0.1:56787 => /127.0.0.1:56774] FLUSH
11:39:40.451 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.451 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde97ad49, /127.0.0.1:56787 :> /127.0.0.1:56774] INACTIVE
11:39:40.451 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde97ad49, /127.0.0.1:56787 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.451 [nioEventLoopGroup-198-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-198-1
11:39:40.452 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.456 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9c41762, /127.0.0.1:56788 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:40.457 [nioEventLoopGroup-196-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:40.458 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9c41762, /127.0.0.1:56788 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.458 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9c41762, /127.0.0.1:56788 => /127.0.0.1:56774] FLUSH
11:39:40.458 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9c41762, /127.0.0.1:56788 => /127.0.0.1:56774] FLUSH
11:39:40.458 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.459 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9c41762, /127.0.0.1:56788 :> /127.0.0.1:56774] INACTIVE
11:39:40.459 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9c41762, /127.0.0.1:56788 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.459 [nioEventLoopGroup-199-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-199-1
11:39:40.460 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.463 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd09064f, /127.0.0.1:56789 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.465 [nioEventLoopGroup-196-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:40.465 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd09064f, /127.0.0.1:56789 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.466 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd09064f, /127.0.0.1:56789 => /127.0.0.1:56774] FLUSH
11:39:40.466 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.466 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd09064f, /127.0.0.1:56789 => /127.0.0.1:56774] FLUSH
11:39:40.467 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd09064f, /127.0.0.1:56789 :> /127.0.0.1:56774] INACTIVE
11:39:40.467 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd09064f, /127.0.0.1:56789 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.467 [nioEventLoopGroup-200-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-200-1
11:39:40.468 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.472 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0a2df9a3, /127.0.0.1:56790 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:40.473 [nioEventLoopGroup-196-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:40.473 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0a2df9a3, /127.0.0.1:56790 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.474 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0a2df9a3, /127.0.0.1:56790 => /127.0.0.1:56774] FLUSH
11:39:40.474 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0a2df9a3, /127.0.0.1:56790 => /127.0.0.1:56774] FLUSH
11:39:40.474 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.475 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0a2df9a3, /127.0.0.1:56790 :> /127.0.0.1:56774] INACTIVE
11:39:40.475 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0a2df9a3, /127.0.0.1:56790 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.475 [nioEventLoopGroup-201-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-201-1
11:39:40.476 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.480 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65427439, /127.0.0.1:56791 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:40.481 [nioEventLoopGroup-196-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:40.482 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65427439, /127.0.0.1:56791 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.482 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65427439, /127.0.0.1:56791 => /127.0.0.1:56774] FLUSH
11:39:40.482 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65427439, /127.0.0.1:56791 => /127.0.0.1:56774] FLUSH
11:39:40.482 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.483 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65427439, /127.0.0.1:56791 :> /127.0.0.1:56774] INACTIVE
11:39:40.483 [nioEventLoopGroup-202-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-202-1
11:39:40.483 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65427439, /127.0.0.1:56791 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.484 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.487 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x208da821, /127.0.0.1:56792 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:40.488 [nioEventLoopGroup-196-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:40.488 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x208da821, /127.0.0.1:56792 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.489 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x208da821, /127.0.0.1:56792 => /127.0.0.1:56774] FLUSH
11:39:40.489 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x208da821, /127.0.0.1:56792 => /127.0.0.1:56774] FLUSH
11:39:40.489 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.490 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x208da821, /127.0.0.1:56792 :> /127.0.0.1:56774] INACTIVE
11:39:40.490 [nioEventLoopGroup-203-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-203-1
11:39:40.490 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x208da821, /127.0.0.1:56792 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.491 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.495 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0f2418, /127.0.0.1:56793 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.496 [nioEventLoopGroup-196-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:40.496 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0f2418, /127.0.0.1:56793 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.496 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0f2418, /127.0.0.1:56793 => /127.0.0.1:56774] FLUSH
11:39:40.497 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0f2418, /127.0.0.1:56793 => /127.0.0.1:56774] FLUSH
11:39:40.497 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.497 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0f2418, /127.0.0.1:56793 :> /127.0.0.1:56774] INACTIVE
11:39:40.497 [nioEventLoopGroup-204-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-204-1
11:39:40.497 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0f2418, /127.0.0.1:56793 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.498 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.502 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce8cf81, /127.0.0.1:56794 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.503 [nioEventLoopGroup-196-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:40.503 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce8cf81, /127.0.0.1:56794 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.503 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce8cf81, /127.0.0.1:56794 => /127.0.0.1:56774] FLUSH
11:39:40.504 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce8cf81, /127.0.0.1:56794 => /127.0.0.1:56774] FLUSH
11:39:40.504 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.504 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce8cf81, /127.0.0.1:56794 :> /127.0.0.1:56774] INACTIVE
11:39:40.504 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce8cf81, /127.0.0.1:56794 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.504 [nioEventLoopGroup-205-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-205-1
11:39:40.505 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.509 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2eacff5, /127.0.0.1:56795 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.510 [nioEventLoopGroup-196-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:40.510 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2eacff5, /127.0.0.1:56795 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.511 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2eacff5, /127.0.0.1:56795 => /127.0.0.1:56774] FLUSH
11:39:40.511 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2eacff5, /127.0.0.1:56795 => /127.0.0.1:56774] FLUSH
11:39:40.511 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.511 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2eacff5, /127.0.0.1:56795 :> /127.0.0.1:56774] INACTIVE
11:39:40.512 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2eacff5, /127.0.0.1:56795 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.512 [nioEventLoopGroup-206-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-206-1
11:39:40.513 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.516 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e888be6, /127.0.0.1:56796 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.517 [nioEventLoopGroup-196-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:40.518 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e888be6, /127.0.0.1:56796 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.518 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e888be6, /127.0.0.1:56796 => /127.0.0.1:56774] FLUSH
11:39:40.518 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e888be6, /127.0.0.1:56796 => /127.0.0.1:56774] FLUSH
11:39:40.518 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.519 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e888be6, /127.0.0.1:56796 :> /127.0.0.1:56774] INACTIVE
11:39:40.519 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e888be6, /127.0.0.1:56796 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.519 [nioEventLoopGroup-207-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-207-1
11:39:40.520 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.523 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb6ceff0, /127.0.0.1:56797 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:40.525 [nioEventLoopGroup-196-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:40.525 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb6ceff0, /127.0.0.1:56797 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.525 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb6ceff0, /127.0.0.1:56797 => /127.0.0.1:56774] FLUSH
11:39:40.526 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb6ceff0, /127.0.0.1:56797 => /127.0.0.1:56774] FLUSH
11:39:40.526 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb6ceff0, /127.0.0.1:56797 :> /127.0.0.1:56774] INACTIVE
11:39:40.526 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.526 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb6ceff0, /127.0.0.1:56797 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.526 [nioEventLoopGroup-208-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-208-1
11:39:40.527 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.531 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x165bf8bb, /127.0.0.1:56798 => /127.0.0.1:56774] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:40.533 [nioEventLoopGroup-196-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:40.533 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x165bf8bb, /127.0.0.1:56798 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.533 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x165bf8bb, /127.0.0.1:56798 => /127.0.0.1:56774] FLUSH
11:39:40.534 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x165bf8bb, /127.0.0.1:56798 => /127.0.0.1:56774] FLUSH
11:39:40.534 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.534 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x165bf8bb, /127.0.0.1:56798 :> /127.0.0.1:56774] INACTIVE
11:39:40.534 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x165bf8bb, /127.0.0.1:56798 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.534 [nioEventLoopGroup-209-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-209-1
11:39:40.538 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 => /127.0.0.1:56774] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56774
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:40.539 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.540 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.540 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:40.541 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.541 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.541 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.542 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.542 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:40.543 [nioEventLoopGroup-196-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:40.543 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:40.543 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 => /127.0.0.1:56774] FLUSH
11:39:40.546 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 => /127.0.0.1:56774] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56774
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:40.547 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.547 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.548 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:40.548 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.549 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.549 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.550 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:40.550 [nioEventLoopGroup-196-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:40.551 [nioEventLoopGroup-196-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56774" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:40.551 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:40.551 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 => /127.0.0.1:56774] FLUSH
11:39:40.552 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:40.555 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748d78af, /127.0.0.1:56800 => /127.0.0.1:56774] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56774
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:40.555 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748d78af, /127.0.0.1:56800 => /127.0.0.1:56774] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.556 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748d78af, /127.0.0.1:56800 => /127.0.0.1:56774] FLUSH
11:39:40.556 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748d78af, /127.0.0.1:56800 => /127.0.0.1:56774] CLOSE()
11:39:40.557 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.557 [nioEventLoopGroup-196-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-5
11:39:40.557 [nioEventLoopGroup-196-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-3
11:39:40.557 [nioEventLoopGroup-196-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-4
11:39:40.557 [nioEventLoopGroup-196-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-8
11:39:40.557 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 :> /127.0.0.1:56774] INACTIVE
11:39:40.557 [nioEventLoopGroup-196-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-2
11:39:40.557 [nioEventLoopGroup-196-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-1
11:39:40.558 [nioEventLoopGroup-210-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-210-1
11:39:40.558 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82d359ab, /127.0.0.1:56799 :> /127.0.0.1:56774] UNREGISTERED
11:39:40.569 [nioEventLoopGroup-164-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-7
11:39:40.569 [nioEventLoopGroup-164-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-6
11:39:40.574 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2086150, /127.0.0.1:56773 :> /127.0.0.1:56744] FLUSH
11:39:40.574 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2086150, /127.0.0.1:56773 :> /127.0.0.1:56744] INACTIVE
11:39:40.575 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2086150, /127.0.0.1:56773 :> /127.0.0.1:56744] UNREGISTERED
11:39:40.575 [nioEventLoopGroup-180-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-8
11:39:40.912 [MockServer thread for port: 56801] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56801
11:39:40.912 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.916 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73e710c6, /127.0.0.1:56814 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:40.917 [nioEventLoopGroup-212-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:40.918 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73e710c6, /127.0.0.1:56814 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.918 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73e710c6, /127.0.0.1:56814 => /127.0.0.1:56801] FLUSH
11:39:40.918 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.918 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73e710c6, /127.0.0.1:56814 => /127.0.0.1:56801] FLUSH
11:39:40.919 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73e710c6, /127.0.0.1:56814 :> /127.0.0.1:56801] INACTIVE
11:39:40.919 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73e710c6, /127.0.0.1:56814 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.919 [nioEventLoopGroup-213-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-213-1
11:39:40.920 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.924 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc4a1ad1, /127.0.0.1:56815 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:40.926 [nioEventLoopGroup-212-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:40.927 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc4a1ad1, /127.0.0.1:56815 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.927 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc4a1ad1, /127.0.0.1:56815 => /127.0.0.1:56801] FLUSH
11:39:40.928 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc4a1ad1, /127.0.0.1:56815 => /127.0.0.1:56801] FLUSH
11:39:40.928 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.928 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc4a1ad1, /127.0.0.1:56815 :> /127.0.0.1:56801] INACTIVE
11:39:40.928 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc4a1ad1, /127.0.0.1:56815 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.928 [nioEventLoopGroup-214-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-214-1
11:39:40.929 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.934 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a691e33, /127.0.0.1:56816 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:40.936 [nioEventLoopGroup-212-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:40.936 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a691e33, /127.0.0.1:56816 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.936 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a691e33, /127.0.0.1:56816 => /127.0.0.1:56801] FLUSH
11:39:40.937 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a691e33, /127.0.0.1:56816 => /127.0.0.1:56801] FLUSH
11:39:40.937 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.937 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a691e33, /127.0.0.1:56816 :> /127.0.0.1:56801] INACTIVE
11:39:40.937 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a691e33, /127.0.0.1:56816 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.937 [nioEventLoopGroup-215-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-215-1
11:39:40.938 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.941 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4815b522, /127.0.0.1:56817 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.943 [nioEventLoopGroup-212-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:40.943 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4815b522, /127.0.0.1:56817 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.943 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4815b522, /127.0.0.1:56817 => /127.0.0.1:56801] FLUSH
11:39:40.944 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4815b522, /127.0.0.1:56817 => /127.0.0.1:56801] FLUSH
11:39:40.944 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4815b522, /127.0.0.1:56817 :> /127.0.0.1:56801] INACTIVE
11:39:40.944 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4815b522, /127.0.0.1:56817 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.944 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.944 [nioEventLoopGroup-216-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-216-1
11:39:40.945 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.948 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83eaf4bb, /127.0.0.1:56818 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:40.950 [nioEventLoopGroup-212-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:40.950 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83eaf4bb, /127.0.0.1:56818 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.950 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83eaf4bb, /127.0.0.1:56818 => /127.0.0.1:56801] FLUSH
11:39:40.951 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83eaf4bb, /127.0.0.1:56818 => /127.0.0.1:56801] FLUSH
11:39:40.951 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.951 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83eaf4bb, /127.0.0.1:56818 :> /127.0.0.1:56801] INACTIVE
11:39:40.951 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83eaf4bb, /127.0.0.1:56818 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.951 [nioEventLoopGroup-217-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-217-1
11:39:40.952 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.956 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf87bdc78, /127.0.0.1:56819 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:40.957 [nioEventLoopGroup-212-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:40.957 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf87bdc78, /127.0.0.1:56819 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.958 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf87bdc78, /127.0.0.1:56819 => /127.0.0.1:56801] FLUSH
11:39:40.958 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf87bdc78, /127.0.0.1:56819 => /127.0.0.1:56801] FLUSH
11:39:40.958 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.958 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf87bdc78, /127.0.0.1:56819 :> /127.0.0.1:56801] INACTIVE
11:39:40.958 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf87bdc78, /127.0.0.1:56819 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.958 [nioEventLoopGroup-218-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-218-1
11:39:40.959 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.963 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c5960c, /127.0.0.1:56820 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:40.965 [nioEventLoopGroup-212-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:40.965 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c5960c, /127.0.0.1:56820 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.965 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c5960c, /127.0.0.1:56820 => /127.0.0.1:56801] FLUSH
11:39:40.966 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c5960c, /127.0.0.1:56820 => /127.0.0.1:56801] FLUSH
11:39:40.966 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.966 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c5960c, /127.0.0.1:56820 :> /127.0.0.1:56801] INACTIVE
11:39:40.966 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c5960c, /127.0.0.1:56820 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.966 [nioEventLoopGroup-219-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-219-1
11:39:40.967 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.971 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x907673fd, /127.0.0.1:56821 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.972 [nioEventLoopGroup-212-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:40.972 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x907673fd, /127.0.0.1:56821 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.973 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x907673fd, /127.0.0.1:56821 => /127.0.0.1:56801] FLUSH
11:39:40.973 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x907673fd, /127.0.0.1:56821 => /127.0.0.1:56801] FLUSH
11:39:40.973 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.973 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x907673fd, /127.0.0.1:56821 :> /127.0.0.1:56801] INACTIVE
11:39:40.974 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x907673fd, /127.0.0.1:56821 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.974 [nioEventLoopGroup-220-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-220-1
11:39:40.975 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.978 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ca3a75, /127.0.0.1:56822 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.979 [nioEventLoopGroup-212-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:40.980 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ca3a75, /127.0.0.1:56822 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.980 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ca3a75, /127.0.0.1:56822 => /127.0.0.1:56801] FLUSH
11:39:40.980 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ca3a75, /127.0.0.1:56822 => /127.0.0.1:56801] FLUSH
11:39:40.980 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.981 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ca3a75, /127.0.0.1:56822 :> /127.0.0.1:56801] INACTIVE
11:39:40.981 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ca3a75, /127.0.0.1:56822 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.981 [nioEventLoopGroup-221-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-221-1
11:39:40.982 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.985 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79683d1e, /127.0.0.1:56823 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.986 [nioEventLoopGroup-212-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:40.987 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79683d1e, /127.0.0.1:56823 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.987 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79683d1e, /127.0.0.1:56823 => /127.0.0.1:56801] FLUSH
11:39:40.988 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79683d1e, /127.0.0.1:56823 => /127.0.0.1:56801] FLUSH
11:39:40.987 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.988 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79683d1e, /127.0.0.1:56823 :> /127.0.0.1:56801] INACTIVE
11:39:40.988 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79683d1e, /127.0.0.1:56823 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.988 [nioEventLoopGroup-222-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-222-1
11:39:40.989 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:40.993 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5340e01, /127.0.0.1:56824 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:40.994 [nioEventLoopGroup-212-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:40.994 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5340e01, /127.0.0.1:56824 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:40.994 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5340e01, /127.0.0.1:56824 => /127.0.0.1:56801] FLUSH
11:39:40.995 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5340e01, /127.0.0.1:56824 => /127.0.0.1:56801] FLUSH
11:39:40.995 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:40.995 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5340e01, /127.0.0.1:56824 :> /127.0.0.1:56801] INACTIVE
11:39:40.995 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5340e01, /127.0.0.1:56824 :> /127.0.0.1:56801] UNREGISTERED
11:39:40.995 [nioEventLoopGroup-223-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-223-1
11:39:41.019 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.023 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27262cc5, /127.0.0.1:56825 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:41.024 [nioEventLoopGroup-212-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:41.024 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27262cc5, /127.0.0.1:56825 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.025 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27262cc5, /127.0.0.1:56825 => /127.0.0.1:56801] FLUSH
11:39:41.025 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27262cc5, /127.0.0.1:56825 => /127.0.0.1:56801] FLUSH
11:39:41.025 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.025 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27262cc5, /127.0.0.1:56825 :> /127.0.0.1:56801] INACTIVE
11:39:41.025 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27262cc5, /127.0.0.1:56825 :> /127.0.0.1:56801] UNREGISTERED
11:39:41.025 [nioEventLoopGroup-224-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-224-1
11:39:41.027 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.030 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47502ac6, /127.0.0.1:56826 => /127.0.0.1:56801] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:41.031 [nioEventLoopGroup-212-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:41.031 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47502ac6, /127.0.0.1:56826 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.031 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47502ac6, /127.0.0.1:56826 => /127.0.0.1:56801] FLUSH
11:39:41.032 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.032 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47502ac6, /127.0.0.1:56826 => /127.0.0.1:56801] FLUSH
11:39:41.032 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47502ac6, /127.0.0.1:56826 :> /127.0.0.1:56801] INACTIVE
11:39:41.032 [nioEventLoopGroup-225-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-225-1
11:39:41.032 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47502ac6, /127.0.0.1:56826 :> /127.0.0.1:56801] UNREGISTERED
11:39:41.036 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 => /127.0.0.1:56801] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56801
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:41.037 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.037 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.037 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:41.038 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.038 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.039 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.039 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.039 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.040 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:41.040 [nioEventLoopGroup-212-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:41.040 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.041 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 => /127.0.0.1:56801] FLUSH
11:39:41.043 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 => /127.0.0.1:56801] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56801
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:41.043 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.044 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.044 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:41.045 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.045 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.045 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.046 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.046 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.046 [nioEventLoopGroup-212-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:41.047 [nioEventLoopGroup-212-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56801" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:41.047 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.047 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 => /127.0.0.1:56801] FLUSH
11:39:41.048 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:41.050 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25fa647e, /127.0.0.1:56828 => /127.0.0.1:56801] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56801
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.051 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25fa647e, /127.0.0.1:56828 => /127.0.0.1:56801] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.051 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25fa647e, /127.0.0.1:56828 => /127.0.0.1:56801] FLUSH
11:39:41.051 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25fa647e, /127.0.0.1:56828 => /127.0.0.1:56801] CLOSE()
11:39:41.052 [nioEventLoopGroup-212-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-4
11:39:41.052 [nioEventLoopGroup-212-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-1
11:39:41.052 [nioEventLoopGroup-212-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-5
11:39:41.052 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 :> /127.0.0.1:56801] INACTIVE
11:39:41.053 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04245fcd, /127.0.0.1:56827 :> /127.0.0.1:56801] UNREGISTERED
11:39:41.053 [nioEventLoopGroup-212-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-8
11:39:41.053 [nioEventLoopGroup-212-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-2
11:39:41.052 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.053 [nioEventLoopGroup-212-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-3
11:39:41.053 [nioEventLoopGroup-226-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-226-1
11:39:41.059 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748d78af, /127.0.0.1:56800 :> /127.0.0.1:56774] FLUSH
11:39:41.059 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748d78af, /127.0.0.1:56800 :> /127.0.0.1:56774] INACTIVE
11:39:41.059 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748d78af, /127.0.0.1:56800 :> /127.0.0.1:56774] UNREGISTERED
11:39:41.059 [nioEventLoopGroup-196-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-7
11:39:41.077 [nioEventLoopGroup-180-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-7
11:39:41.077 [nioEventLoopGroup-180-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-6
11:39:41.411 [MockServer thread for port: 56829] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56829
11:39:41.411 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.415 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e91af9, /127.0.0.1:56841 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:41.416 [nioEventLoopGroup-228-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:41.416 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e91af9, /127.0.0.1:56841 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.416 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e91af9, /127.0.0.1:56841 => /127.0.0.1:56829] FLUSH
11:39:41.417 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e91af9, /127.0.0.1:56841 => /127.0.0.1:56829] FLUSH
11:39:41.417 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.417 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e91af9, /127.0.0.1:56841 :> /127.0.0.1:56829] INACTIVE
11:39:41.417 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e91af9, /127.0.0.1:56841 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.417 [nioEventLoopGroup-229-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-229-1
11:39:41.418 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.422 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16bef4f3, /127.0.0.1:56842 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:41.424 [nioEventLoopGroup-228-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:41.424 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16bef4f3, /127.0.0.1:56842 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.424 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16bef4f3, /127.0.0.1:56842 => /127.0.0.1:56829] FLUSH
11:39:41.425 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16bef4f3, /127.0.0.1:56842 => /127.0.0.1:56829] FLUSH
11:39:41.425 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.425 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16bef4f3, /127.0.0.1:56842 :> /127.0.0.1:56829] INACTIVE
11:39:41.425 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16bef4f3, /127.0.0.1:56842 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.425 [nioEventLoopGroup-230-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-230-1
11:39:41.426 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.429 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeab9bff5, /127.0.0.1:56843 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:41.431 [nioEventLoopGroup-228-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:41.431 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeab9bff5, /127.0.0.1:56843 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.431 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeab9bff5, /127.0.0.1:56843 => /127.0.0.1:56829] FLUSH
11:39:41.432 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeab9bff5, /127.0.0.1:56843 => /127.0.0.1:56829] FLUSH
11:39:41.432 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.432 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeab9bff5, /127.0.0.1:56843 :> /127.0.0.1:56829] INACTIVE
11:39:41.432 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeab9bff5, /127.0.0.1:56843 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.432 [nioEventLoopGroup-231-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-231-1
11:39:41.433 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.436 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2daf4735, /127.0.0.1:56844 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.438 [nioEventLoopGroup-228-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:41.438 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2daf4735, /127.0.0.1:56844 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.438 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2daf4735, /127.0.0.1:56844 => /127.0.0.1:56829] FLUSH
11:39:41.439 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2daf4735, /127.0.0.1:56844 => /127.0.0.1:56829] FLUSH
11:39:41.439 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.439 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2daf4735, /127.0.0.1:56844 :> /127.0.0.1:56829] INACTIVE
11:39:41.439 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2daf4735, /127.0.0.1:56844 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.439 [nioEventLoopGroup-232-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-232-1
11:39:41.440 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.444 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe800fd9e, /127.0.0.1:56845 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:41.445 [nioEventLoopGroup-228-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:41.445 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe800fd9e, /127.0.0.1:56845 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.445 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe800fd9e, /127.0.0.1:56845 => /127.0.0.1:56829] FLUSH
11:39:41.446 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.446 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe800fd9e, /127.0.0.1:56845 => /127.0.0.1:56829] FLUSH
11:39:41.446 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe800fd9e, /127.0.0.1:56845 :> /127.0.0.1:56829] INACTIVE
11:39:41.446 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe800fd9e, /127.0.0.1:56845 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.446 [nioEventLoopGroup-233-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-233-1
11:39:41.447 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.451 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2aa69779, /127.0.0.1:56846 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:41.452 [nioEventLoopGroup-228-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:41.453 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2aa69779, /127.0.0.1:56846 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.453 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2aa69779, /127.0.0.1:56846 => /127.0.0.1:56829] FLUSH
11:39:41.454 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2aa69779, /127.0.0.1:56846 => /127.0.0.1:56829] FLUSH
11:39:41.454 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.454 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2aa69779, /127.0.0.1:56846 :> /127.0.0.1:56829] INACTIVE
11:39:41.454 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2aa69779, /127.0.0.1:56846 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.454 [nioEventLoopGroup-234-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-234-1
11:39:41.455 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.458 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0823dae8, /127.0.0.1:56847 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:41.459 [nioEventLoopGroup-228-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:41.460 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0823dae8, /127.0.0.1:56847 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.460 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0823dae8, /127.0.0.1:56847 => /127.0.0.1:56829] FLUSH
11:39:41.461 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0823dae8, /127.0.0.1:56847 => /127.0.0.1:56829] FLUSH
11:39:41.461 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.461 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0823dae8, /127.0.0.1:56847 :> /127.0.0.1:56829] INACTIVE
11:39:41.461 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0823dae8, /127.0.0.1:56847 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.461 [nioEventLoopGroup-235-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-235-1
11:39:41.462 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.466 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe07bc2c9, /127.0.0.1:56848 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.467 [nioEventLoopGroup-228-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:41.467 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe07bc2c9, /127.0.0.1:56848 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.467 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe07bc2c9, /127.0.0.1:56848 => /127.0.0.1:56829] FLUSH
11:39:41.468 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe07bc2c9, /127.0.0.1:56848 => /127.0.0.1:56829] FLUSH
11:39:41.468 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.468 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe07bc2c9, /127.0.0.1:56848 :> /127.0.0.1:56829] INACTIVE
11:39:41.468 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe07bc2c9, /127.0.0.1:56848 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.468 [nioEventLoopGroup-236-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-236-1
11:39:41.469 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.472 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa2dbfb, /127.0.0.1:56849 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.473 [nioEventLoopGroup-228-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:41.474 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa2dbfb, /127.0.0.1:56849 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.474 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa2dbfb, /127.0.0.1:56849 => /127.0.0.1:56829] FLUSH
11:39:41.474 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa2dbfb, /127.0.0.1:56849 => /127.0.0.1:56829] FLUSH
11:39:41.474 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.474 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa2dbfb, /127.0.0.1:56849 :> /127.0.0.1:56829] INACTIVE
11:39:41.474 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa2dbfb, /127.0.0.1:56849 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.475 [nioEventLoopGroup-237-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-237-1
11:39:41.476 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.479 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54c80b1c, /127.0.0.1:56850 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.480 [nioEventLoopGroup-228-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:41.480 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54c80b1c, /127.0.0.1:56850 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.481 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54c80b1c, /127.0.0.1:56850 => /127.0.0.1:56829] FLUSH
11:39:41.481 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54c80b1c, /127.0.0.1:56850 => /127.0.0.1:56829] FLUSH
11:39:41.481 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.481 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54c80b1c, /127.0.0.1:56850 :> /127.0.0.1:56829] INACTIVE
11:39:41.481 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54c80b1c, /127.0.0.1:56850 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.482 [nioEventLoopGroup-238-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-238-1
11:39:41.482 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.486 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37033937, /127.0.0.1:56851 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.487 [nioEventLoopGroup-228-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:41.487 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37033937, /127.0.0.1:56851 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.487 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37033937, /127.0.0.1:56851 => /127.0.0.1:56829] FLUSH
11:39:41.488 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.488 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37033937, /127.0.0.1:56851 => /127.0.0.1:56829] FLUSH
11:39:41.488 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37033937, /127.0.0.1:56851 :> /127.0.0.1:56829] INACTIVE
11:39:41.488 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37033937, /127.0.0.1:56851 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.488 [nioEventLoopGroup-239-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-239-1
11:39:41.489 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.493 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe834cffc, /127.0.0.1:56852 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:41.494 [nioEventLoopGroup-228-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:41.495 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe834cffc, /127.0.0.1:56852 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.495 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe834cffc, /127.0.0.1:56852 => /127.0.0.1:56829] FLUSH
11:39:41.495 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe834cffc, /127.0.0.1:56852 => /127.0.0.1:56829] FLUSH
11:39:41.495 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.496 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe834cffc, /127.0.0.1:56852 :> /127.0.0.1:56829] INACTIVE
11:39:41.496 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe834cffc, /127.0.0.1:56852 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.496 [nioEventLoopGroup-240-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-240-1
11:39:41.497 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.500 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b660278, /127.0.0.1:56853 => /127.0.0.1:56829] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:41.501 [nioEventLoopGroup-228-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:41.501 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b660278, /127.0.0.1:56853 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.502 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b660278, /127.0.0.1:56853 => /127.0.0.1:56829] FLUSH
11:39:41.502 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b660278, /127.0.0.1:56853 => /127.0.0.1:56829] FLUSH
11:39:41.502 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.502 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b660278, /127.0.0.1:56853 :> /127.0.0.1:56829] INACTIVE
11:39:41.502 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b660278, /127.0.0.1:56853 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.502 [nioEventLoopGroup-241-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-241-1
11:39:41.505 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 => /127.0.0.1:56829] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56829
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:41.506 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.507 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.507 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:41.507 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.508 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.508 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.509 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.509 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.509 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.510 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:41.511 [nioEventLoopGroup-228-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:41.511 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.511 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 => /127.0.0.1:56829] FLUSH
11:39:41.513 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 => /127.0.0.1:56829] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56829
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:41.514 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.514 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.515 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:41.515 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.516 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.516 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.517 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.517 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.517 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.518 [nioEventLoopGroup-228-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:41.519 [nioEventLoopGroup-228-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56829" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:41.519 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.519 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 => /127.0.0.1:56829] FLUSH
11:39:41.520 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:41.523 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb657b29a, /127.0.0.1:56855 => /127.0.0.1:56829] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56829
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.523 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb657b29a, /127.0.0.1:56855 => /127.0.0.1:56829] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.523 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb657b29a, /127.0.0.1:56855 => /127.0.0.1:56829] FLUSH
11:39:41.523 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb657b29a, /127.0.0.1:56855 => /127.0.0.1:56829] CLOSE()
11:39:41.525 [nioEventLoopGroup-228-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-3
11:39:41.525 [nioEventLoopGroup-228-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-1
11:39:41.525 [nioEventLoopGroup-228-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-2
11:39:41.525 [nioEventLoopGroup-228-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-5
11:39:41.525 [nioEventLoopGroup-228-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-4
11:39:41.525 [nioEventLoopGroup-228-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-8
11:39:41.524 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.525 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 :> /127.0.0.1:56829] INACTIVE
11:39:41.525 [nioEventLoopGroup-242-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-242-1
11:39:41.525 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd359ad68, /127.0.0.1:56854 :> /127.0.0.1:56829] UNREGISTERED
11:39:41.555 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25fa647e, /127.0.0.1:56828 :> /127.0.0.1:56801] FLUSH
11:39:41.555 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25fa647e, /127.0.0.1:56828 :> /127.0.0.1:56801] INACTIVE
11:39:41.555 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25fa647e, /127.0.0.1:56828 :> /127.0.0.1:56801] UNREGISTERED
11:39:41.555 [nioEventLoopGroup-212-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-7
11:39:41.561 [nioEventLoopGroup-196-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-6
11:39:41.881 [MockServer thread for port: 56856] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56856
11:39:41.882 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.886 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21146614, /127.0.0.1:56869 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:41.887 [nioEventLoopGroup-244-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:41.888 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21146614, /127.0.0.1:56869 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.888 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21146614, /127.0.0.1:56869 => /127.0.0.1:56856] FLUSH
11:39:41.889 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21146614, /127.0.0.1:56869 => /127.0.0.1:56856] FLUSH
11:39:41.888 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.889 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21146614, /127.0.0.1:56869 :> /127.0.0.1:56856] INACTIVE
11:39:41.889 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21146614, /127.0.0.1:56869 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.889 [nioEventLoopGroup-245-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-245-1
11:39:41.890 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.894 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01ba54bc, /127.0.0.1:56870 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:41.896 [nioEventLoopGroup-244-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:41.896 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01ba54bc, /127.0.0.1:56870 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.896 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01ba54bc, /127.0.0.1:56870 => /127.0.0.1:56856] FLUSH
11:39:41.897 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01ba54bc, /127.0.0.1:56870 => /127.0.0.1:56856] FLUSH
11:39:41.897 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.897 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01ba54bc, /127.0.0.1:56870 :> /127.0.0.1:56856] INACTIVE
11:39:41.897 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01ba54bc, /127.0.0.1:56870 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.897 [nioEventLoopGroup-246-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-246-1
11:39:41.899 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.903 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2144d49e, /127.0.0.1:56871 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:41.905 [nioEventLoopGroup-244-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:41.905 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2144d49e, /127.0.0.1:56871 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.905 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2144d49e, /127.0.0.1:56871 => /127.0.0.1:56856] FLUSH
11:39:41.906 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2144d49e, /127.0.0.1:56871 => /127.0.0.1:56856] FLUSH
11:39:41.906 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.906 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2144d49e, /127.0.0.1:56871 :> /127.0.0.1:56856] INACTIVE
11:39:41.906 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2144d49e, /127.0.0.1:56871 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.906 [nioEventLoopGroup-247-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-247-1
11:39:41.907 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.910 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d489cb6, /127.0.0.1:56872 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.911 [nioEventLoopGroup-244-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:41.912 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d489cb6, /127.0.0.1:56872 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.912 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d489cb6, /127.0.0.1:56872 => /127.0.0.1:56856] FLUSH
11:39:41.912 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d489cb6, /127.0.0.1:56872 => /127.0.0.1:56856] FLUSH
11:39:41.912 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.912 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d489cb6, /127.0.0.1:56872 :> /127.0.0.1:56856] INACTIVE
11:39:41.913 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d489cb6, /127.0.0.1:56872 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.913 [nioEventLoopGroup-248-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-248-1
11:39:41.914 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.917 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2afe80d9, /127.0.0.1:56873 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:41.918 [nioEventLoopGroup-244-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:41.918 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2afe80d9, /127.0.0.1:56873 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.918 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2afe80d9, /127.0.0.1:56873 => /127.0.0.1:56856] FLUSH
11:39:41.919 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2afe80d9, /127.0.0.1:56873 => /127.0.0.1:56856] FLUSH
11:39:41.919 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.919 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2afe80d9, /127.0.0.1:56873 :> /127.0.0.1:56856] INACTIVE
11:39:41.919 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2afe80d9, /127.0.0.1:56873 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.919 [nioEventLoopGroup-249-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-249-1
11:39:41.920 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.923 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa892bd6, /127.0.0.1:56874 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:41.925 [nioEventLoopGroup-244-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:41.925 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa892bd6, /127.0.0.1:56874 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.925 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa892bd6, /127.0.0.1:56874 => /127.0.0.1:56856] FLUSH
11:39:41.926 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa892bd6, /127.0.0.1:56874 => /127.0.0.1:56856] FLUSH
11:39:41.926 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.926 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa892bd6, /127.0.0.1:56874 :> /127.0.0.1:56856] INACTIVE
11:39:41.926 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa892bd6, /127.0.0.1:56874 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.926 [nioEventLoopGroup-250-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-250-1
11:39:41.927 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.930 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x102fb2ae, /127.0.0.1:56875 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:41.932 [nioEventLoopGroup-244-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:41.932 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x102fb2ae, /127.0.0.1:56875 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.932 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x102fb2ae, /127.0.0.1:56875 => /127.0.0.1:56856] FLUSH
11:39:41.933 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x102fb2ae, /127.0.0.1:56875 => /127.0.0.1:56856] FLUSH
11:39:41.933 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.933 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x102fb2ae, /127.0.0.1:56875 :> /127.0.0.1:56856] INACTIVE
11:39:41.933 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x102fb2ae, /127.0.0.1:56875 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.933 [nioEventLoopGroup-251-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-251-1
11:39:41.934 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.937 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0ce02d0f, /127.0.0.1:56876 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.938 [nioEventLoopGroup-244-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:41.939 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0ce02d0f, /127.0.0.1:56876 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.939 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0ce02d0f, /127.0.0.1:56876 => /127.0.0.1:56856] FLUSH
11:39:41.939 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0ce02d0f, /127.0.0.1:56876 => /127.0.0.1:56856] FLUSH
11:39:41.939 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.939 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0ce02d0f, /127.0.0.1:56876 :> /127.0.0.1:56856] INACTIVE
11:39:41.939 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0ce02d0f, /127.0.0.1:56876 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.940 [nioEventLoopGroup-252-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-252-1
11:39:41.940 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.944 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d0ff72, /127.0.0.1:56877 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.944 [nioEventLoopGroup-244-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:41.945 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d0ff72, /127.0.0.1:56877 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.945 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d0ff72, /127.0.0.1:56877 => /127.0.0.1:56856] FLUSH
11:39:41.945 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d0ff72, /127.0.0.1:56877 => /127.0.0.1:56856] FLUSH
11:39:41.945 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.946 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d0ff72, /127.0.0.1:56877 :> /127.0.0.1:56856] INACTIVE
11:39:41.946 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d0ff72, /127.0.0.1:56877 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.946 [nioEventLoopGroup-253-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-253-1
11:39:41.947 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.950 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4099d95, /127.0.0.1:56878 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.951 [nioEventLoopGroup-244-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:41.951 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4099d95, /127.0.0.1:56878 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.951 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4099d95, /127.0.0.1:56878 => /127.0.0.1:56856] FLUSH
11:39:41.952 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4099d95, /127.0.0.1:56878 => /127.0.0.1:56856] FLUSH
11:39:41.952 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.952 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4099d95, /127.0.0.1:56878 :> /127.0.0.1:56856] INACTIVE
11:39:41.952 [nioEventLoopGroup-254-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-254-1
11:39:41.952 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4099d95, /127.0.0.1:56878 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.953 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.956 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24eed023, /127.0.0.1:56879 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:41.957 [nioEventLoopGroup-244-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:41.957 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24eed023, /127.0.0.1:56879 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.958 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24eed023, /127.0.0.1:56879 => /127.0.0.1:56856] FLUSH
11:39:41.958 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24eed023, /127.0.0.1:56879 => /127.0.0.1:56856] FLUSH
11:39:41.958 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.958 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24eed023, /127.0.0.1:56879 :> /127.0.0.1:56856] INACTIVE
11:39:41.958 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24eed023, /127.0.0.1:56879 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.959 [nioEventLoopGroup-255-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-255-1
11:39:41.960 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.964 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7c006c3, /127.0.0.1:56880 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:41.966 [nioEventLoopGroup-244-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:41.966 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7c006c3, /127.0.0.1:56880 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.966 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7c006c3, /127.0.0.1:56880 => /127.0.0.1:56856] FLUSH
11:39:41.967 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7c006c3, /127.0.0.1:56880 => /127.0.0.1:56856] FLUSH
11:39:41.967 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.967 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7c006c3, /127.0.0.1:56880 :> /127.0.0.1:56856] INACTIVE
11:39:41.967 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7c006c3, /127.0.0.1:56880 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.967 [nioEventLoopGroup-256-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-256-1
11:39:41.968 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:41.972 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ce87f0, /127.0.0.1:56881 => /127.0.0.1:56856] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:41.973 [nioEventLoopGroup-244-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:41.973 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ce87f0, /127.0.0.1:56881 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.974 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ce87f0, /127.0.0.1:56881 => /127.0.0.1:56856] FLUSH
11:39:41.974 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ce87f0, /127.0.0.1:56881 => /127.0.0.1:56856] FLUSH
11:39:41.974 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.974 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ce87f0, /127.0.0.1:56881 :> /127.0.0.1:56856] INACTIVE
11:39:41.974 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ce87f0, /127.0.0.1:56881 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.975 [nioEventLoopGroup-257-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-257-1
11:39:41.978 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 => /127.0.0.1:56856] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56856
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:41.978 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.979 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.979 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:41.980 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.980 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.981 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.981 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.981 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.982 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.982 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.983 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:41.983 [nioEventLoopGroup-244-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:41.984 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.984 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 => /127.0.0.1:56856] FLUSH
11:39:41.987 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 => /127.0.0.1:56856] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56856
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:41.987 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.988 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.988 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:41.989 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.989 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.989 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.990 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.990 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.991 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.991 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:41.991 [nioEventLoopGroup-244-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:41.992 [nioEventLoopGroup-244-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56856" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:41.992 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.992 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 => /127.0.0.1:56856] FLUSH
11:39:41.993 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:41.996 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f610efe, /127.0.0.1:56883 => /127.0.0.1:56856] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56856
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:41.996 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f610efe, /127.0.0.1:56883 => /127.0.0.1:56856] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:41.996 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f610efe, /127.0.0.1:56883 => /127.0.0.1:56856] FLUSH
11:39:41.997 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f610efe, /127.0.0.1:56883 => /127.0.0.1:56856] CLOSE()
11:39:41.998 [nioEventLoopGroup-244-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-3
11:39:41.998 [nioEventLoopGroup-244-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-1
11:39:41.998 [nioEventLoopGroup-244-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-2
11:39:41.998 [nioEventLoopGroup-244-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-4
11:39:41.998 [nioEventLoopGroup-244-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-5
11:39:41.998 [nioEventLoopGroup-244-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-8
11:39:41.998 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 :> /127.0.0.1:56856] INACTIVE
11:39:41.998 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bfa723f, /127.0.0.1:56882 :> /127.0.0.1:56856] UNREGISTERED
11:39:41.997 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:41.999 [nioEventLoopGroup-258-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-258-1
11:39:42.027 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb657b29a, /127.0.0.1:56855 :> /127.0.0.1:56829] FLUSH
11:39:42.027 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb657b29a, /127.0.0.1:56855 :> /127.0.0.1:56829] INACTIVE
11:39:42.027 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb657b29a, /127.0.0.1:56855 :> /127.0.0.1:56829] UNREGISTERED
11:39:42.027 [nioEventLoopGroup-228-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-7
11:39:42.058 [nioEventLoopGroup-212-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-6
11:39:42.356 [MockServer thread for port: 56884] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56884
11:39:42.357 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.360 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4049feb, /127.0.0.1:56896 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:42.361 [nioEventLoopGroup-260-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:42.362 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4049feb, /127.0.0.1:56896 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.362 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4049feb, /127.0.0.1:56896 => /127.0.0.1:56884] FLUSH
11:39:42.362 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4049feb, /127.0.0.1:56896 => /127.0.0.1:56884] FLUSH
11:39:42.362 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.362 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4049feb, /127.0.0.1:56896 :> /127.0.0.1:56884] INACTIVE
11:39:42.363 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4049feb, /127.0.0.1:56896 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.363 [nioEventLoopGroup-261-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-261-1
11:39:42.364 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.367 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc371a816, /127.0.0.1:56897 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:42.369 [nioEventLoopGroup-260-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:42.369 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc371a816, /127.0.0.1:56897 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.370 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc371a816, /127.0.0.1:56897 => /127.0.0.1:56884] FLUSH
11:39:42.370 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc371a816, /127.0.0.1:56897 => /127.0.0.1:56884] FLUSH
11:39:42.370 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.370 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc371a816, /127.0.0.1:56897 :> /127.0.0.1:56884] INACTIVE
11:39:42.370 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc371a816, /127.0.0.1:56897 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.370 [nioEventLoopGroup-262-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-262-1
11:39:42.371 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.375 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31d47d33, /127.0.0.1:56898 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:42.376 [nioEventLoopGroup-260-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:42.377 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31d47d33, /127.0.0.1:56898 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.377 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31d47d33, /127.0.0.1:56898 => /127.0.0.1:56884] FLUSH
11:39:42.377 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31d47d33, /127.0.0.1:56898 => /127.0.0.1:56884] FLUSH
11:39:42.377 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.377 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31d47d33, /127.0.0.1:56898 :> /127.0.0.1:56884] INACTIVE
11:39:42.378 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31d47d33, /127.0.0.1:56898 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.378 [nioEventLoopGroup-263-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-263-1
11:39:42.379 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.382 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x416fca79, /127.0.0.1:56899 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.383 [nioEventLoopGroup-260-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:42.384 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x416fca79, /127.0.0.1:56899 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.384 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x416fca79, /127.0.0.1:56899 => /127.0.0.1:56884] FLUSH
11:39:42.385 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x416fca79, /127.0.0.1:56899 => /127.0.0.1:56884] FLUSH
11:39:42.384 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.385 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x416fca79, /127.0.0.1:56899 :> /127.0.0.1:56884] INACTIVE
11:39:42.385 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x416fca79, /127.0.0.1:56899 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.385 [nioEventLoopGroup-264-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-264-1
11:39:42.386 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.390 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f00a0a2, /127.0.0.1:56900 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:42.391 [nioEventLoopGroup-260-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:42.391 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f00a0a2, /127.0.0.1:56900 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.391 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f00a0a2, /127.0.0.1:56900 => /127.0.0.1:56884] FLUSH
11:39:42.392 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f00a0a2, /127.0.0.1:56900 => /127.0.0.1:56884] FLUSH
11:39:42.392 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.392 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f00a0a2, /127.0.0.1:56900 :> /127.0.0.1:56884] INACTIVE
11:39:42.392 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f00a0a2, /127.0.0.1:56900 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.392 [nioEventLoopGroup-265-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-265-1
11:39:42.393 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.397 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3b637e8, /127.0.0.1:56901 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:42.398 [nioEventLoopGroup-260-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:42.398 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3b637e8, /127.0.0.1:56901 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.398 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3b637e8, /127.0.0.1:56901 => /127.0.0.1:56884] FLUSH
11:39:42.399 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3b637e8, /127.0.0.1:56901 => /127.0.0.1:56884] FLUSH
11:39:42.399 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.399 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3b637e8, /127.0.0.1:56901 :> /127.0.0.1:56884] INACTIVE
11:39:42.399 [nioEventLoopGroup-266-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-266-1
11:39:42.399 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3b637e8, /127.0.0.1:56901 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.400 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.404 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3970acfe, /127.0.0.1:56902 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:42.405 [nioEventLoopGroup-260-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:42.405 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3970acfe, /127.0.0.1:56902 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.405 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3970acfe, /127.0.0.1:56902 => /127.0.0.1:56884] FLUSH
11:39:42.406 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3970acfe, /127.0.0.1:56902 => /127.0.0.1:56884] FLUSH
11:39:42.406 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3970acfe, /127.0.0.1:56902 :> /127.0.0.1:56884] INACTIVE
11:39:42.406 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3970acfe, /127.0.0.1:56902 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.406 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.406 [nioEventLoopGroup-267-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-267-1
11:39:42.407 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.410 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30c9eb32, /127.0.0.1:56903 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.411 [nioEventLoopGroup-260-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:42.411 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30c9eb32, /127.0.0.1:56903 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.411 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30c9eb32, /127.0.0.1:56903 => /127.0.0.1:56884] FLUSH
11:39:42.412 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30c9eb32, /127.0.0.1:56903 => /127.0.0.1:56884] FLUSH
11:39:42.412 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.412 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30c9eb32, /127.0.0.1:56903 :> /127.0.0.1:56884] INACTIVE
11:39:42.412 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30c9eb32, /127.0.0.1:56903 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.412 [nioEventLoopGroup-268-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-268-1
11:39:42.413 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.417 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af3352, /127.0.0.1:56904 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.417 [nioEventLoopGroup-260-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:42.418 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af3352, /127.0.0.1:56904 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.418 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af3352, /127.0.0.1:56904 => /127.0.0.1:56884] FLUSH
11:39:42.418 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af3352, /127.0.0.1:56904 => /127.0.0.1:56884] FLUSH
11:39:42.418 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.418 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af3352, /127.0.0.1:56904 :> /127.0.0.1:56884] INACTIVE
11:39:42.418 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af3352, /127.0.0.1:56904 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.418 [nioEventLoopGroup-269-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-269-1
11:39:42.420 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.422 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x034a4e12, /127.0.0.1:56905 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.423 [nioEventLoopGroup-260-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:42.423 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x034a4e12, /127.0.0.1:56905 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.424 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x034a4e12, /127.0.0.1:56905 => /127.0.0.1:56884] FLUSH
11:39:42.424 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x034a4e12, /127.0.0.1:56905 => /127.0.0.1:56884] FLUSH
11:39:42.424 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.424 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x034a4e12, /127.0.0.1:56905 :> /127.0.0.1:56884] INACTIVE
11:39:42.424 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x034a4e12, /127.0.0.1:56905 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.424 [nioEventLoopGroup-270-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-270-1
11:39:42.425 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.429 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2b4a03, /127.0.0.1:56906 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.430 [nioEventLoopGroup-260-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:42.430 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2b4a03, /127.0.0.1:56906 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.430 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2b4a03, /127.0.0.1:56906 => /127.0.0.1:56884] FLUSH
11:39:42.431 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2b4a03, /127.0.0.1:56906 => /127.0.0.1:56884] FLUSH
11:39:42.430 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.431 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2b4a03, /127.0.0.1:56906 :> /127.0.0.1:56884] INACTIVE
11:39:42.431 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2b4a03, /127.0.0.1:56906 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.431 [nioEventLoopGroup-271-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-271-1
11:39:42.432 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.435 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa93ef85b, /127.0.0.1:56907 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:42.437 [nioEventLoopGroup-260-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:42.437 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa93ef85b, /127.0.0.1:56907 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.437 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa93ef85b, /127.0.0.1:56907 => /127.0.0.1:56884] FLUSH
11:39:42.438 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa93ef85b, /127.0.0.1:56907 => /127.0.0.1:56884] FLUSH
11:39:42.437 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.438 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa93ef85b, /127.0.0.1:56907 :> /127.0.0.1:56884] INACTIVE
11:39:42.438 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa93ef85b, /127.0.0.1:56907 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.438 [nioEventLoopGroup-272-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-272-1
11:39:42.439 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.443 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a140121, /127.0.0.1:56908 => /127.0.0.1:56884] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:42.444 [nioEventLoopGroup-260-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:42.444 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a140121, /127.0.0.1:56908 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.444 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a140121, /127.0.0.1:56908 => /127.0.0.1:56884] FLUSH
11:39:42.445 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a140121, /127.0.0.1:56908 => /127.0.0.1:56884] FLUSH
11:39:42.445 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.445 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a140121, /127.0.0.1:56908 :> /127.0.0.1:56884] INACTIVE
11:39:42.445 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a140121, /127.0.0.1:56908 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.445 [nioEventLoopGroup-273-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-273-1
11:39:42.455 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb25ae71, /127.0.0.1:56909 => /127.0.0.1:56884] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:56884
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:42.456 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.456 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.457 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:42.457 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.457 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.458 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.458 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.458 [nioEventLoopGroup-260-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:42.459 [nioEventLoopGroup-260-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:42.459 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb25ae71, /127.0.0.1:56909 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:42.459 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb25ae71, /127.0.0.1:56909 => /127.0.0.1:56884] FLUSH
11:39:42.466 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x658647ff, /127.0.0.1:56910 => /127.0.0.1:56884] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:56884
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:42.467 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.467 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.468 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:42.468 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.468 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.468 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.469 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.469 [nioEventLoopGroup-260-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:42.469 [nioEventLoopGroup-260-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56884" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:42.470 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x658647ff, /127.0.0.1:56910 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:42.470 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x658647ff, /127.0.0.1:56910 => /127.0.0.1:56884] FLUSH
11:39:42.471 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:42.474 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d3d52fb, /127.0.0.1:56911 => /127.0.0.1:56884] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56884
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:42.474 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d3d52fb, /127.0.0.1:56911 => /127.0.0.1:56884] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.474 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d3d52fb, /127.0.0.1:56911 => /127.0.0.1:56884] FLUSH
11:39:42.474 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d3d52fb, /127.0.0.1:56911 => /127.0.0.1:56884] CLOSE()
11:39:42.475 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.475 [nioEventLoopGroup-274-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-274-1
11:39:42.493 [nioEventLoopGroup-260-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-1
11:39:42.493 [nioEventLoopGroup-260-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-3
11:39:42.493 [nioEventLoopGroup-260-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-2
11:39:42.493 [nioEventLoopGroup-260-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-4
11:39:42.493 [nioEventLoopGroup-260-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-5
11:39:42.493 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb25ae71, /127.0.0.1:56909 :> /127.0.0.1:56884] INACTIVE
11:39:42.493 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x658647ff, /127.0.0.1:56910 :> /127.0.0.1:56884] INACTIVE
11:39:42.493 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb25ae71, /127.0.0.1:56909 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.493 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x658647ff, /127.0.0.1:56910 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.499 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f610efe, /127.0.0.1:56883 :> /127.0.0.1:56856] FLUSH
11:39:42.499 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f610efe, /127.0.0.1:56883 :> /127.0.0.1:56856] INACTIVE
11:39:42.499 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f610efe, /127.0.0.1:56883 :> /127.0.0.1:56856] UNREGISTERED
11:39:42.499 [nioEventLoopGroup-244-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-7
11:39:42.530 [nioEventLoopGroup-228-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-6
11:39:42.850 [MockServer thread for port: 56912] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56912
11:39:42.851 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.854 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf29dd77a, /127.0.0.1:56926 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:42.856 [nioEventLoopGroup-276-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:42.856 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf29dd77a, /127.0.0.1:56926 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.856 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf29dd77a, /127.0.0.1:56926 => /127.0.0.1:56912] FLUSH
11:39:42.857 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf29dd77a, /127.0.0.1:56926 => /127.0.0.1:56912] FLUSH
11:39:42.857 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.857 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf29dd77a, /127.0.0.1:56926 :> /127.0.0.1:56912] INACTIVE
11:39:42.857 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf29dd77a, /127.0.0.1:56926 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.858 [nioEventLoopGroup-277-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-277-1
11:39:42.858 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.863 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30183090, /127.0.0.1:56927 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:42.865 [nioEventLoopGroup-276-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:42.865 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30183090, /127.0.0.1:56927 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.865 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30183090, /127.0.0.1:56927 => /127.0.0.1:56912] FLUSH
11:39:42.866 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30183090, /127.0.0.1:56927 => /127.0.0.1:56912] FLUSH
11:39:42.866 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.866 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30183090, /127.0.0.1:56927 :> /127.0.0.1:56912] INACTIVE
11:39:42.866 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30183090, /127.0.0.1:56927 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.866 [nioEventLoopGroup-278-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-278-1
11:39:42.867 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.874 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x713b852f, /127.0.0.1:56928 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:42.875 [nioEventLoopGroup-276-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:42.875 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x713b852f, /127.0.0.1:56928 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.875 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x713b852f, /127.0.0.1:56928 => /127.0.0.1:56912] FLUSH
11:39:42.876 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x713b852f, /127.0.0.1:56928 => /127.0.0.1:56912] FLUSH
11:39:42.876 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.876 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x713b852f, /127.0.0.1:56928 :> /127.0.0.1:56912] INACTIVE
11:39:42.876 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x713b852f, /127.0.0.1:56928 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.876 [nioEventLoopGroup-279-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-279-1
11:39:42.877 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.881 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59490557, /127.0.0.1:56929 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.882 [nioEventLoopGroup-276-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:42.882 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59490557, /127.0.0.1:56929 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.883 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59490557, /127.0.0.1:56929 => /127.0.0.1:56912] FLUSH
11:39:42.883 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59490557, /127.0.0.1:56929 => /127.0.0.1:56912] FLUSH
11:39:42.883 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.883 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59490557, /127.0.0.1:56929 :> /127.0.0.1:56912] INACTIVE
11:39:42.883 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59490557, /127.0.0.1:56929 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.883 [nioEventLoopGroup-280-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-280-1
11:39:42.884 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.888 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7c82276, /127.0.0.1:56930 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:42.889 [nioEventLoopGroup-276-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:42.889 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7c82276, /127.0.0.1:56930 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.890 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7c82276, /127.0.0.1:56930 => /127.0.0.1:56912] FLUSH
11:39:42.890 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7c82276, /127.0.0.1:56930 => /127.0.0.1:56912] FLUSH
11:39:42.890 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.890 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7c82276, /127.0.0.1:56930 :> /127.0.0.1:56912] INACTIVE
11:39:42.890 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7c82276, /127.0.0.1:56930 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.890 [nioEventLoopGroup-281-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-281-1
11:39:42.892 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.896 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5d6d1ac, /127.0.0.1:56931 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:42.897 [nioEventLoopGroup-276-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:42.897 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5d6d1ac, /127.0.0.1:56931 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.897 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5d6d1ac, /127.0.0.1:56931 => /127.0.0.1:56912] FLUSH
11:39:42.898 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5d6d1ac, /127.0.0.1:56931 => /127.0.0.1:56912] FLUSH
11:39:42.898 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.898 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5d6d1ac, /127.0.0.1:56931 :> /127.0.0.1:56912] INACTIVE
11:39:42.898 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5d6d1ac, /127.0.0.1:56931 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.899 [nioEventLoopGroup-282-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-282-1
11:39:42.899 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.903 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70378ca0, /127.0.0.1:56932 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:42.904 [nioEventLoopGroup-276-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:42.905 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70378ca0, /127.0.0.1:56932 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.905 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70378ca0, /127.0.0.1:56932 => /127.0.0.1:56912] FLUSH
11:39:42.906 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70378ca0, /127.0.0.1:56932 => /127.0.0.1:56912] FLUSH
11:39:42.906 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70378ca0, /127.0.0.1:56932 :> /127.0.0.1:56912] INACTIVE
11:39:42.906 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70378ca0, /127.0.0.1:56932 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.906 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.906 [nioEventLoopGroup-283-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-283-1
11:39:42.907 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.911 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d83fc2f, /127.0.0.1:56933 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.912 [nioEventLoopGroup-276-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:42.912 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d83fc2f, /127.0.0.1:56933 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.912 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d83fc2f, /127.0.0.1:56933 => /127.0.0.1:56912] FLUSH
11:39:42.913 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d83fc2f, /127.0.0.1:56933 => /127.0.0.1:56912] FLUSH
11:39:42.913 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.913 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d83fc2f, /127.0.0.1:56933 :> /127.0.0.1:56912] INACTIVE
11:39:42.913 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d83fc2f, /127.0.0.1:56933 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.913 [nioEventLoopGroup-284-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-284-1
11:39:42.914 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.917 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61eb9d6b, /127.0.0.1:56934 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.918 [nioEventLoopGroup-276-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:42.918 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61eb9d6b, /127.0.0.1:56934 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.919 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61eb9d6b, /127.0.0.1:56934 => /127.0.0.1:56912] FLUSH
11:39:42.919 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61eb9d6b, /127.0.0.1:56934 => /127.0.0.1:56912] FLUSH
11:39:42.919 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.919 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61eb9d6b, /127.0.0.1:56934 :> /127.0.0.1:56912] INACTIVE
11:39:42.919 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61eb9d6b, /127.0.0.1:56934 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.920 [nioEventLoopGroup-285-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-285-1
11:39:42.921 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.924 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc003b8cf, /127.0.0.1:56935 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.925 [nioEventLoopGroup-276-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:42.925 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc003b8cf, /127.0.0.1:56935 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.925 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc003b8cf, /127.0.0.1:56935 => /127.0.0.1:56912] FLUSH
11:39:42.926 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc003b8cf, /127.0.0.1:56935 => /127.0.0.1:56912] FLUSH
11:39:42.926 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.926 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc003b8cf, /127.0.0.1:56935 :> /127.0.0.1:56912] INACTIVE
11:39:42.926 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc003b8cf, /127.0.0.1:56935 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.926 [nioEventLoopGroup-286-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-286-1
11:39:42.927 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.930 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c77c94, /127.0.0.1:56936 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:42.931 [nioEventLoopGroup-276-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:42.931 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c77c94, /127.0.0.1:56936 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.931 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c77c94, /127.0.0.1:56936 => /127.0.0.1:56912] FLUSH
11:39:42.932 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c77c94, /127.0.0.1:56936 => /127.0.0.1:56912] FLUSH
11:39:42.932 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.932 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c77c94, /127.0.0.1:56936 :> /127.0.0.1:56912] INACTIVE
11:39:42.932 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c77c94, /127.0.0.1:56936 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.932 [nioEventLoopGroup-287-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-287-1
11:39:42.933 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.936 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0964680, /127.0.0.1:56937 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:42.937 [nioEventLoopGroup-276-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:42.938 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0964680, /127.0.0.1:56937 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.938 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0964680, /127.0.0.1:56937 => /127.0.0.1:56912] FLUSH
11:39:42.938 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.938 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0964680, /127.0.0.1:56937 => /127.0.0.1:56912] FLUSH
11:39:42.939 [nioEventLoopGroup-288-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-288-1
11:39:42.939 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0964680, /127.0.0.1:56937 :> /127.0.0.1:56912] INACTIVE
11:39:42.939 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0964680, /127.0.0.1:56937 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.940 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:42.943 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x722df6b0, /127.0.0.1:56938 => /127.0.0.1:56912] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:42.944 [nioEventLoopGroup-276-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:42.945 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x722df6b0, /127.0.0.1:56938 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.945 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x722df6b0, /127.0.0.1:56938 => /127.0.0.1:56912] FLUSH
11:39:42.945 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x722df6b0, /127.0.0.1:56938 => /127.0.0.1:56912] FLUSH
11:39:42.945 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.945 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x722df6b0, /127.0.0.1:56938 :> /127.0.0.1:56912] INACTIVE
11:39:42.945 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x722df6b0, /127.0.0.1:56938 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.946 [nioEventLoopGroup-289-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-289-1
11:39:42.952 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd3ed42b, /127.0.0.1:56939 => /127.0.0.1:56912] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:56912
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:42.952 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.953 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.953 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:42.953 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.954 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.954 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.954 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.955 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.955 [nioEventLoopGroup-276-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:42.956 [nioEventLoopGroup-276-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:42.956 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd3ed42b, /127.0.0.1:56939 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:42.956 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd3ed42b, /127.0.0.1:56939 => /127.0.0.1:56912] FLUSH
11:39:42.962 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x408ded3c, /127.0.0.1:56940 => /127.0.0.1:56912] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:56912
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:42.963 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.963 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.964 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:42.964 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.964 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.964 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.965 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.965 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:42.965 [nioEventLoopGroup-276-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:42.966 [nioEventLoopGroup-276-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56912" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:42.966 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x408ded3c, /127.0.0.1:56940 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:42.966 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x408ded3c, /127.0.0.1:56940 => /127.0.0.1:56912] FLUSH
11:39:42.967 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:42.970 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf3e40e6, /127.0.0.1:56941 => /127.0.0.1:56912] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56912
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:42.970 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf3e40e6, /127.0.0.1:56941 => /127.0.0.1:56912] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:42.970 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf3e40e6, /127.0.0.1:56941 => /127.0.0.1:56912] FLUSH
11:39:42.970 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf3e40e6, /127.0.0.1:56941 => /127.0.0.1:56912] CLOSE()
11:39:42.971 [nioEventLoopGroup-276-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-2
11:39:42.971 [nioEventLoopGroup-276-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-1
11:39:42.971 [nioEventLoopGroup-276-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-3
11:39:42.971 [nioEventLoopGroup-276-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-4
11:39:42.971 [nioEventLoopGroup-276-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-5
11:39:42.972 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x408ded3c, /127.0.0.1:56940 :> /127.0.0.1:56912] INACTIVE
11:39:42.972 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd3ed42b, /127.0.0.1:56939 :> /127.0.0.1:56912] INACTIVE
11:39:42.972 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x408ded3c, /127.0.0.1:56940 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.972 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd3ed42b, /127.0.0.1:56939 :> /127.0.0.1:56912] UNREGISTERED
11:39:42.971 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:42.973 [nioEventLoopGroup-290-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-290-1
11:39:42.997 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d3d52fb, /127.0.0.1:56911 :> /127.0.0.1:56884] FLUSH
11:39:42.997 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d3d52fb, /127.0.0.1:56911 :> /127.0.0.1:56884] INACTIVE
11:39:42.997 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d3d52fb, /127.0.0.1:56911 :> /127.0.0.1:56884] UNREGISTERED
11:39:42.997 [nioEventLoopGroup-260-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-8
11:39:43.000 [nioEventLoopGroup-244-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-6
11:39:43.327 [MockServer thread for port: 56942] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56942
11:39:43.328 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.332 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10d357fb, /127.0.0.1:56954 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:43.333 [nioEventLoopGroup-292-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:43.334 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10d357fb, /127.0.0.1:56954 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.334 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10d357fb, /127.0.0.1:56954 => /127.0.0.1:56942] FLUSH
11:39:43.334 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10d357fb, /127.0.0.1:56954 => /127.0.0.1:56942] FLUSH
11:39:43.334 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.335 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10d357fb, /127.0.0.1:56954 :> /127.0.0.1:56942] INACTIVE
11:39:43.335 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10d357fb, /127.0.0.1:56954 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.335 [nioEventLoopGroup-293-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-293-1
11:39:43.336 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.340 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01729630, /127.0.0.1:56955 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:43.341 [nioEventLoopGroup-292-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:43.342 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01729630, /127.0.0.1:56955 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.342 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01729630, /127.0.0.1:56955 => /127.0.0.1:56942] FLUSH
11:39:43.342 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01729630, /127.0.0.1:56955 => /127.0.0.1:56942] FLUSH
11:39:43.342 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.343 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01729630, /127.0.0.1:56955 :> /127.0.0.1:56942] INACTIVE
11:39:43.343 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x01729630, /127.0.0.1:56955 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.343 [nioEventLoopGroup-294-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-294-1
11:39:43.344 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.348 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee87394e, /127.0.0.1:56956 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:43.349 [nioEventLoopGroup-292-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:43.349 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee87394e, /127.0.0.1:56956 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.350 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee87394e, /127.0.0.1:56956 => /127.0.0.1:56942] FLUSH
11:39:43.350 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee87394e, /127.0.0.1:56956 => /127.0.0.1:56942] FLUSH
11:39:43.350 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.350 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee87394e, /127.0.0.1:56956 :> /127.0.0.1:56942] INACTIVE
11:39:43.350 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee87394e, /127.0.0.1:56956 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.350 [nioEventLoopGroup-295-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-295-1
11:39:43.351 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.356 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d1d9c6a, /127.0.0.1:56957 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.357 [nioEventLoopGroup-292-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:43.357 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d1d9c6a, /127.0.0.1:56957 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.357 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d1d9c6a, /127.0.0.1:56957 => /127.0.0.1:56942] FLUSH
11:39:43.358 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d1d9c6a, /127.0.0.1:56957 => /127.0.0.1:56942] FLUSH
11:39:43.358 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.358 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d1d9c6a, /127.0.0.1:56957 :> /127.0.0.1:56942] INACTIVE
11:39:43.358 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d1d9c6a, /127.0.0.1:56957 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.358 [nioEventLoopGroup-296-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-296-1
11:39:43.359 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.363 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84be5c16, /127.0.0.1:56958 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:43.364 [nioEventLoopGroup-292-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:43.364 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84be5c16, /127.0.0.1:56958 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.365 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84be5c16, /127.0.0.1:56958 => /127.0.0.1:56942] FLUSH
11:39:43.365 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84be5c16, /127.0.0.1:56958 => /127.0.0.1:56942] FLUSH
11:39:43.365 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.365 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84be5c16, /127.0.0.1:56958 :> /127.0.0.1:56942] INACTIVE
11:39:43.366 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84be5c16, /127.0.0.1:56958 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.366 [nioEventLoopGroup-297-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-297-1
11:39:43.367 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.370 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47456440, /127.0.0.1:56959 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:43.372 [nioEventLoopGroup-292-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:43.372 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47456440, /127.0.0.1:56959 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.372 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47456440, /127.0.0.1:56959 => /127.0.0.1:56942] FLUSH
11:39:43.373 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47456440, /127.0.0.1:56959 => /127.0.0.1:56942] FLUSH
11:39:43.373 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.373 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47456440, /127.0.0.1:56959 :> /127.0.0.1:56942] INACTIVE
11:39:43.373 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47456440, /127.0.0.1:56959 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.373 [nioEventLoopGroup-298-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-298-1
11:39:43.374 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.396 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x291d291a, /127.0.0.1:56960 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:43.397 [nioEventLoopGroup-292-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:43.398 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x291d291a, /127.0.0.1:56960 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.398 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x291d291a, /127.0.0.1:56960 => /127.0.0.1:56942] FLUSH
11:39:43.398 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x291d291a, /127.0.0.1:56960 => /127.0.0.1:56942] FLUSH
11:39:43.398 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.398 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x291d291a, /127.0.0.1:56960 :> /127.0.0.1:56942] INACTIVE
11:39:43.399 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x291d291a, /127.0.0.1:56960 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.399 [nioEventLoopGroup-299-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-299-1
11:39:43.400 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.403 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x369e33ff, /127.0.0.1:56961 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.404 [nioEventLoopGroup-292-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:43.404 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x369e33ff, /127.0.0.1:56961 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.404 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x369e33ff, /127.0.0.1:56961 => /127.0.0.1:56942] FLUSH
11:39:43.405 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x369e33ff, /127.0.0.1:56961 => /127.0.0.1:56942] FLUSH
11:39:43.405 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x369e33ff, /127.0.0.1:56961 :> /127.0.0.1:56942] INACTIVE
11:39:43.405 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.405 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x369e33ff, /127.0.0.1:56961 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.405 [nioEventLoopGroup-300-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-300-1
11:39:43.406 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.409 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9fcdb79, /127.0.0.1:56962 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.410 [nioEventLoopGroup-292-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:43.410 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9fcdb79, /127.0.0.1:56962 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.410 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9fcdb79, /127.0.0.1:56962 => /127.0.0.1:56942] FLUSH
11:39:43.411 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9fcdb79, /127.0.0.1:56962 => /127.0.0.1:56942] FLUSH
11:39:43.411 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9fcdb79, /127.0.0.1:56962 :> /127.0.0.1:56942] INACTIVE
11:39:43.411 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9fcdb79, /127.0.0.1:56962 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.411 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.412 [nioEventLoopGroup-301-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-301-1
11:39:43.416 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.419 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf995f5d0, /127.0.0.1:56963 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.420 [nioEventLoopGroup-292-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:43.420 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf995f5d0, /127.0.0.1:56963 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.420 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf995f5d0, /127.0.0.1:56963 => /127.0.0.1:56942] FLUSH
11:39:43.421 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf995f5d0, /127.0.0.1:56963 => /127.0.0.1:56942] FLUSH
11:39:43.421 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.421 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf995f5d0, /127.0.0.1:56963 :> /127.0.0.1:56942] INACTIVE
11:39:43.421 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf995f5d0, /127.0.0.1:56963 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.421 [nioEventLoopGroup-302-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-302-1
11:39:43.422 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.425 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3259a7ca, /127.0.0.1:56964 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.426 [nioEventLoopGroup-292-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:43.426 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3259a7ca, /127.0.0.1:56964 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.426 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3259a7ca, /127.0.0.1:56964 => /127.0.0.1:56942] FLUSH
11:39:43.427 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3259a7ca, /127.0.0.1:56964 => /127.0.0.1:56942] FLUSH
11:39:43.427 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.427 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3259a7ca, /127.0.0.1:56964 :> /127.0.0.1:56942] INACTIVE
11:39:43.427 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3259a7ca, /127.0.0.1:56964 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.427 [nioEventLoopGroup-303-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-303-1
11:39:43.428 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.432 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e09ad83, /127.0.0.1:56965 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:43.433 [nioEventLoopGroup-292-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:43.433 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e09ad83, /127.0.0.1:56965 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.433 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e09ad83, /127.0.0.1:56965 => /127.0.0.1:56942] FLUSH
11:39:43.434 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e09ad83, /127.0.0.1:56965 => /127.0.0.1:56942] FLUSH
11:39:43.434 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.434 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e09ad83, /127.0.0.1:56965 :> /127.0.0.1:56942] INACTIVE
11:39:43.434 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e09ad83, /127.0.0.1:56965 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.434 [nioEventLoopGroup-304-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-304-1
11:39:43.435 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.439 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8359b185, /127.0.0.1:56966 => /127.0.0.1:56942] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:43.440 [nioEventLoopGroup-292-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:43.440 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8359b185, /127.0.0.1:56966 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.440 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8359b185, /127.0.0.1:56966 => /127.0.0.1:56942] FLUSH
11:39:43.441 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8359b185, /127.0.0.1:56966 => /127.0.0.1:56942] FLUSH
11:39:43.441 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.441 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8359b185, /127.0.0.1:56966 :> /127.0.0.1:56942] INACTIVE
11:39:43.441 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8359b185, /127.0.0.1:56966 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.441 [nioEventLoopGroup-305-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-305-1
11:39:43.447 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44b6068d, /127.0.0.1:56967 => /127.0.0.1:56942] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:56942
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:43.448 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.448 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.449 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:43.449 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.449 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.450 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.450 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.450 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.450 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.451 [nioEventLoopGroup-292-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:43.451 [nioEventLoopGroup-292-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:43.451 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44b6068d, /127.0.0.1:56967 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:43.452 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44b6068d, /127.0.0.1:56967 => /127.0.0.1:56942] FLUSH
11:39:43.458 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x848372a0, /127.0.0.1:56968 => /127.0.0.1:56942] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:56942
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:43.458 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.459 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.459 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:43.459 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.459 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.460 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.460 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.460 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.460 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.461 [nioEventLoopGroup-292-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:43.461 [nioEventLoopGroup-292-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56942" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:43.461 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x848372a0, /127.0.0.1:56968 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:43.462 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x848372a0, /127.0.0.1:56968 => /127.0.0.1:56942] FLUSH
11:39:43.463 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:43.465 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55143e53, /127.0.0.1:56969 => /127.0.0.1:56942] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56942
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:43.466 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55143e53, /127.0.0.1:56969 => /127.0.0.1:56942] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.466 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55143e53, /127.0.0.1:56969 => /127.0.0.1:56942] FLUSH
11:39:43.466 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55143e53, /127.0.0.1:56969 => /127.0.0.1:56942] CLOSE()
11:39:43.468 [nioEventLoopGroup-292-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-5
11:39:43.468 [nioEventLoopGroup-292-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-3
11:39:43.468 [nioEventLoopGroup-292-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-4
11:39:43.468 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x848372a0, /127.0.0.1:56968 :> /127.0.0.1:56942] INACTIVE
11:39:43.468 [nioEventLoopGroup-292-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-2
11:39:43.468 [nioEventLoopGroup-292-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-1
11:39:43.468 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x848372a0, /127.0.0.1:56968 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.467 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.468 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44b6068d, /127.0.0.1:56967 :> /127.0.0.1:56942] INACTIVE
11:39:43.468 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44b6068d, /127.0.0.1:56967 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.468 [nioEventLoopGroup-306-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-306-1
11:39:43.474 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf3e40e6, /127.0.0.1:56941 :> /127.0.0.1:56912] FLUSH
11:39:43.474 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf3e40e6, /127.0.0.1:56941 :> /127.0.0.1:56912] INACTIVE
11:39:43.474 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf3e40e6, /127.0.0.1:56941 :> /127.0.0.1:56912] UNREGISTERED
11:39:43.474 [nioEventLoopGroup-276-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-8
11:39:43.499 [nioEventLoopGroup-260-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-7
11:39:43.499 [nioEventLoopGroup-260-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-6
11:39:43.823 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.823 [MockServer thread for port: 56970] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56970
11:39:43.828 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd8196db, /127.0.0.1:56971 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:43.829 [nioEventLoopGroup-308-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:43.829 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd8196db, /127.0.0.1:56971 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.829 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd8196db, /127.0.0.1:56971 => /127.0.0.1:56970] FLUSH
11:39:43.830 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd8196db, /127.0.0.1:56971 => /127.0.0.1:56970] FLUSH
11:39:43.830 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd8196db, /127.0.0.1:56971 :> /127.0.0.1:56970] INACTIVE
11:39:43.830 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd8196db, /127.0.0.1:56971 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.831 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.832 [nioEventLoopGroup-309-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-309-1
11:39:43.833 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.837 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e47adb, /127.0.0.1:56972 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:43.839 [nioEventLoopGroup-308-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:43.839 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e47adb, /127.0.0.1:56972 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.839 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e47adb, /127.0.0.1:56972 => /127.0.0.1:56970] FLUSH
11:39:43.840 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e47adb, /127.0.0.1:56972 => /127.0.0.1:56970] FLUSH
11:39:43.840 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e47adb, /127.0.0.1:56972 :> /127.0.0.1:56970] INACTIVE
11:39:43.840 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e47adb, /127.0.0.1:56972 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.840 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.840 [nioEventLoopGroup-310-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-310-1
11:39:43.841 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.844 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd49fbcdb, /127.0.0.1:56974 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:43.846 [nioEventLoopGroup-308-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:43.846 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd49fbcdb, /127.0.0.1:56974 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.846 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd49fbcdb, /127.0.0.1:56974 => /127.0.0.1:56970] FLUSH
11:39:43.847 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd49fbcdb, /127.0.0.1:56974 => /127.0.0.1:56970] FLUSH
11:39:43.847 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.847 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd49fbcdb, /127.0.0.1:56974 :> /127.0.0.1:56970] INACTIVE
11:39:43.847 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd49fbcdb, /127.0.0.1:56974 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.848 [nioEventLoopGroup-311-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-311-1
11:39:43.850 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.853 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb53e8d1b, /127.0.0.1:56975 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.854 [nioEventLoopGroup-308-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:43.855 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb53e8d1b, /127.0.0.1:56975 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.855 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb53e8d1b, /127.0.0.1:56975 => /127.0.0.1:56970] FLUSH
11:39:43.855 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb53e8d1b, /127.0.0.1:56975 => /127.0.0.1:56970] FLUSH
11:39:43.855 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb53e8d1b, /127.0.0.1:56975 :> /127.0.0.1:56970] INACTIVE
11:39:43.855 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb53e8d1b, /127.0.0.1:56975 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.855 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.856 [nioEventLoopGroup-312-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-312-1
11:39:43.857 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.860 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb6cd61a5, /127.0.0.1:56976 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:43.861 [nioEventLoopGroup-308-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:43.861 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb6cd61a5, /127.0.0.1:56976 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.862 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb6cd61a5, /127.0.0.1:56976 => /127.0.0.1:56970] FLUSH
11:39:43.862 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb6cd61a5, /127.0.0.1:56976 => /127.0.0.1:56970] FLUSH
11:39:43.862 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb6cd61a5, /127.0.0.1:56976 :> /127.0.0.1:56970] INACTIVE
11:39:43.862 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.862 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb6cd61a5, /127.0.0.1:56976 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.863 [nioEventLoopGroup-313-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-313-1
11:39:43.864 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.867 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79c3be4a, /127.0.0.1:56977 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:43.868 [nioEventLoopGroup-308-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:43.869 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79c3be4a, /127.0.0.1:56977 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.869 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79c3be4a, /127.0.0.1:56977 => /127.0.0.1:56970] FLUSH
11:39:43.869 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79c3be4a, /127.0.0.1:56977 => /127.0.0.1:56970] FLUSH
11:39:43.869 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79c3be4a, /127.0.0.1:56977 :> /127.0.0.1:56970] INACTIVE
11:39:43.869 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79c3be4a, /127.0.0.1:56977 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.869 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.870 [nioEventLoopGroup-314-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-314-1
11:39:43.871 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.875 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x296309e1, /127.0.0.1:56978 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:43.876 [nioEventLoopGroup-308-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:43.876 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x296309e1, /127.0.0.1:56978 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.876 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x296309e1, /127.0.0.1:56978 => /127.0.0.1:56970] FLUSH
11:39:43.877 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x296309e1, /127.0.0.1:56978 => /127.0.0.1:56970] FLUSH
11:39:43.877 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x296309e1, /127.0.0.1:56978 :> /127.0.0.1:56970] INACTIVE
11:39:43.877 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.877 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x296309e1, /127.0.0.1:56978 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.877 [nioEventLoopGroup-315-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-315-1
11:39:43.878 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.881 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf7c86d5, /127.0.0.1:56979 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.882 [nioEventLoopGroup-308-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:43.883 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf7c86d5, /127.0.0.1:56979 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.883 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf7c86d5, /127.0.0.1:56979 => /127.0.0.1:56970] FLUSH
11:39:43.883 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf7c86d5, /127.0.0.1:56979 => /127.0.0.1:56970] FLUSH
11:39:43.883 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.883 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf7c86d5, /127.0.0.1:56979 :> /127.0.0.1:56970] INACTIVE
11:39:43.884 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf7c86d5, /127.0.0.1:56979 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.884 [nioEventLoopGroup-316-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-316-1
11:39:43.885 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.888 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbc5c843, /127.0.0.1:56980 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.889 [nioEventLoopGroup-308-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:43.890 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbc5c843, /127.0.0.1:56980 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.890 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbc5c843, /127.0.0.1:56980 => /127.0.0.1:56970] FLUSH
11:39:43.890 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbc5c843, /127.0.0.1:56980 => /127.0.0.1:56970] FLUSH
11:39:43.890 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbc5c843, /127.0.0.1:56980 :> /127.0.0.1:56970] INACTIVE
11:39:43.890 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbc5c843, /127.0.0.1:56980 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.891 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.891 [nioEventLoopGroup-317-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-317-1
11:39:43.892 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.896 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c1242, /127.0.0.1:56981 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.896 [nioEventLoopGroup-308-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:43.897 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c1242, /127.0.0.1:56981 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.897 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c1242, /127.0.0.1:56981 => /127.0.0.1:56970] FLUSH
11:39:43.898 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c1242, /127.0.0.1:56981 => /127.0.0.1:56970] FLUSH
11:39:43.898 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c1242, /127.0.0.1:56981 :> /127.0.0.1:56970] INACTIVE
11:39:43.898 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c1242, /127.0.0.1:56981 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.898 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.912 [nioEventLoopGroup-318-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-318-1
11:39:43.917 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.921 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5954afd, /127.0.0.1:56982 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:43.922 [nioEventLoopGroup-308-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:43.922 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5954afd, /127.0.0.1:56982 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.923 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5954afd, /127.0.0.1:56982 => /127.0.0.1:56970] FLUSH
11:39:43.923 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5954afd, /127.0.0.1:56982 => /127.0.0.1:56970] FLUSH
11:39:43.923 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5954afd, /127.0.0.1:56982 :> /127.0.0.1:56970] INACTIVE
11:39:43.923 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5954afd, /127.0.0.1:56982 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.923 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.924 [nioEventLoopGroup-319-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-319-1
11:39:43.927 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.932 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d2a4bcb, /127.0.0.1:56983 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:43.934 [nioEventLoopGroup-308-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:43.934 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d2a4bcb, /127.0.0.1:56983 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.934 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d2a4bcb, /127.0.0.1:56983 => /127.0.0.1:56970] FLUSH
11:39:43.935 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d2a4bcb, /127.0.0.1:56983 => /127.0.0.1:56970] FLUSH
11:39:43.935 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d2a4bcb, /127.0.0.1:56983 :> /127.0.0.1:56970] INACTIVE
11:39:43.935 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d2a4bcb, /127.0.0.1:56983 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.935 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.935 [nioEventLoopGroup-320-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-320-1
11:39:43.937 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:43.940 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7aa8cc74, /127.0.0.1:56984 => /127.0.0.1:56970] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:43.941 [nioEventLoopGroup-308-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:43.941 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7aa8cc74, /127.0.0.1:56984 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.942 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7aa8cc74, /127.0.0.1:56984 => /127.0.0.1:56970] FLUSH
11:39:43.942 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7aa8cc74, /127.0.0.1:56984 => /127.0.0.1:56970] FLUSH
11:39:43.942 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7aa8cc74, /127.0.0.1:56984 :> /127.0.0.1:56970] INACTIVE
11:39:43.942 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7aa8cc74, /127.0.0.1:56984 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.942 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.943 [nioEventLoopGroup-321-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-321-1
11:39:43.954 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4329a030, /127.0.0.1:56985 => /127.0.0.1:56970] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:56970
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:43.954 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.955 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.955 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:43.955 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.955 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.956 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.956 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.956 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.956 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.956 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.957 [nioEventLoopGroup-308-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:43.957 [nioEventLoopGroup-308-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:43.957 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4329a030, /127.0.0.1:56985 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:43.958 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4329a030, /127.0.0.1:56985 => /127.0.0.1:56970] FLUSH
11:39:43.964 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x171ddb36, /127.0.0.1:56986 => /127.0.0.1:56970] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:56970
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:43.965 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.965 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.966 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:43.966 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.966 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.967 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.967 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.967 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.967 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55143e53, /127.0.0.1:56969 :> /127.0.0.1:56942] FLUSH
11:39:43.967 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55143e53, /127.0.0.1:56969 :> /127.0.0.1:56942] INACTIVE
11:39:43.968 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55143e53, /127.0.0.1:56969 :> /127.0.0.1:56942] UNREGISTERED
11:39:43.968 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.968 [nioEventLoopGroup-292-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-8
11:39:43.968 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:43.968 [nioEventLoopGroup-308-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:43.969 [nioEventLoopGroup-308-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:56970" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:43.969 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x171ddb36, /127.0.0.1:56986 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:43.969 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x171ddb36, /127.0.0.1:56986 => /127.0.0.1:56970] FLUSH
11:39:43.970 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:43.973 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1f7688c9, /127.0.0.1:56987 => /127.0.0.1:56970] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56970
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:43.973 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1f7688c9, /127.0.0.1:56987 => /127.0.0.1:56970] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:43.973 [nioEventLoopGroup-276-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-6
11:39:43.973 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1f7688c9, /127.0.0.1:56987 => /127.0.0.1:56970] FLUSH
11:39:43.973 [nioEventLoopGroup-276-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-7
11:39:43.974 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1f7688c9, /127.0.0.1:56987 => /127.0.0.1:56970] CLOSE()
11:39:43.974 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:43.975 [nioEventLoopGroup-308-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-5
11:39:43.975 [nioEventLoopGroup-308-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-4
11:39:43.975 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x171ddb36, /127.0.0.1:56986 :> /127.0.0.1:56970] INACTIVE
11:39:43.975 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4329a030, /127.0.0.1:56985 :> /127.0.0.1:56970] INACTIVE
11:39:43.975 [nioEventLoopGroup-308-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-1
11:39:43.975 [nioEventLoopGroup-308-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-2
11:39:43.975 [nioEventLoopGroup-308-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-3
11:39:43.975 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x171ddb36, /127.0.0.1:56986 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.975 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4329a030, /127.0.0.1:56985 :> /127.0.0.1:56970] UNREGISTERED
11:39:43.975 [nioEventLoopGroup-322-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-322-1
11:39:44.332 [MockServer thread for port: 56988] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 56988
11:39:44.333 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.336 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbfbc00df, /127.0.0.1:56989 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:44.337 [nioEventLoopGroup-324-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:44.338 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbfbc00df, /127.0.0.1:56989 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.338 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbfbc00df, /127.0.0.1:56989 => /127.0.0.1:56988] FLUSH
11:39:44.339 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbfbc00df, /127.0.0.1:56989 => /127.0.0.1:56988] FLUSH
11:39:44.339 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.339 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbfbc00df, /127.0.0.1:56989 :> /127.0.0.1:56988] INACTIVE
11:39:44.339 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbfbc00df, /127.0.0.1:56989 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.339 [nioEventLoopGroup-325-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-325-1
11:39:44.340 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.343 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b0e2e86, /127.0.0.1:56990 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:44.345 [nioEventLoopGroup-324-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:44.345 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b0e2e86, /127.0.0.1:56990 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.346 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b0e2e86, /127.0.0.1:56990 => /127.0.0.1:56988] FLUSH
11:39:44.346 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b0e2e86, /127.0.0.1:56990 => /127.0.0.1:56988] FLUSH
11:39:44.346 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.347 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b0e2e86, /127.0.0.1:56990 :> /127.0.0.1:56988] INACTIVE
11:39:44.347 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b0e2e86, /127.0.0.1:56990 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.347 [nioEventLoopGroup-326-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-326-1
11:39:44.348 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.351 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9002aedc, /127.0.0.1:56991 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:44.352 [nioEventLoopGroup-324-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:44.352 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9002aedc, /127.0.0.1:56991 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.352 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9002aedc, /127.0.0.1:56991 => /127.0.0.1:56988] FLUSH
11:39:44.353 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9002aedc, /127.0.0.1:56991 => /127.0.0.1:56988] FLUSH
11:39:44.353 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.353 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9002aedc, /127.0.0.1:56991 :> /127.0.0.1:56988] INACTIVE
11:39:44.353 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9002aedc, /127.0.0.1:56991 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.353 [nioEventLoopGroup-327-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-327-1
11:39:44.354 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.357 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0bfc222, /127.0.0.1:56992 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.358 [nioEventLoopGroup-324-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:44.359 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0bfc222, /127.0.0.1:56992 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.359 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0bfc222, /127.0.0.1:56992 => /127.0.0.1:56988] FLUSH
11:39:44.359 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0bfc222, /127.0.0.1:56992 => /127.0.0.1:56988] FLUSH
11:39:44.359 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.359 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0bfc222, /127.0.0.1:56992 :> /127.0.0.1:56988] INACTIVE
11:39:44.359 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0bfc222, /127.0.0.1:56992 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.360 [nioEventLoopGroup-328-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-328-1
11:39:44.360 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.363 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54ffeede, /127.0.0.1:56993 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:44.364 [nioEventLoopGroup-324-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:44.365 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54ffeede, /127.0.0.1:56993 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.365 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54ffeede, /127.0.0.1:56993 => /127.0.0.1:56988] FLUSH
11:39:44.365 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54ffeede, /127.0.0.1:56993 => /127.0.0.1:56988] FLUSH
11:39:44.365 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.365 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54ffeede, /127.0.0.1:56993 :> /127.0.0.1:56988] INACTIVE
11:39:44.365 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54ffeede, /127.0.0.1:56993 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.365 [nioEventLoopGroup-329-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-329-1
11:39:44.367 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.370 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa50cdd56, /127.0.0.1:56994 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:44.371 [nioEventLoopGroup-324-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:44.371 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa50cdd56, /127.0.0.1:56994 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.371 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa50cdd56, /127.0.0.1:56994 => /127.0.0.1:56988] FLUSH
11:39:44.372 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa50cdd56, /127.0.0.1:56994 => /127.0.0.1:56988] FLUSH
11:39:44.372 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.372 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa50cdd56, /127.0.0.1:56994 :> /127.0.0.1:56988] INACTIVE
11:39:44.372 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa50cdd56, /127.0.0.1:56994 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.372 [nioEventLoopGroup-330-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-330-1
11:39:44.373 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.376 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0201f841, /127.0.0.1:56995 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:44.377 [nioEventLoopGroup-324-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:44.378 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0201f841, /127.0.0.1:56995 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.378 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0201f841, /127.0.0.1:56995 => /127.0.0.1:56988] FLUSH
11:39:44.378 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0201f841, /127.0.0.1:56995 => /127.0.0.1:56988] FLUSH
11:39:44.378 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0201f841, /127.0.0.1:56995 :> /127.0.0.1:56988] INACTIVE
11:39:44.379 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0201f841, /127.0.0.1:56995 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.378 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.379 [nioEventLoopGroup-331-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-331-1
11:39:44.380 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.383 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf913557e, /127.0.0.1:56996 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.384 [nioEventLoopGroup-324-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:44.384 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf913557e, /127.0.0.1:56996 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.384 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf913557e, /127.0.0.1:56996 => /127.0.0.1:56988] FLUSH
11:39:44.385 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf913557e, /127.0.0.1:56996 => /127.0.0.1:56988] FLUSH
11:39:44.385 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf913557e, /127.0.0.1:56996 :> /127.0.0.1:56988] INACTIVE
11:39:44.385 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf913557e, /127.0.0.1:56996 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.385 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.386 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.386 [nioEventLoopGroup-332-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-332-1
11:39:44.389 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c465adb, /127.0.0.1:56997 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.390 [nioEventLoopGroup-324-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:44.390 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c465adb, /127.0.0.1:56997 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.391 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c465adb, /127.0.0.1:56997 => /127.0.0.1:56988] FLUSH
11:39:44.391 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.391 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c465adb, /127.0.0.1:56997 => /127.0.0.1:56988] FLUSH
11:39:44.391 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c465adb, /127.0.0.1:56997 :> /127.0.0.1:56988] INACTIVE
11:39:44.391 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c465adb, /127.0.0.1:56997 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.391 [nioEventLoopGroup-333-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-333-1
11:39:44.392 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.395 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61090630, /127.0.0.1:56998 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.396 [nioEventLoopGroup-324-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:44.397 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61090630, /127.0.0.1:56998 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.397 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61090630, /127.0.0.1:56998 => /127.0.0.1:56988] FLUSH
11:39:44.397 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61090630, /127.0.0.1:56998 => /127.0.0.1:56988] FLUSH
11:39:44.397 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.397 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61090630, /127.0.0.1:56998 :> /127.0.0.1:56988] INACTIVE
11:39:44.397 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61090630, /127.0.0.1:56998 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.398 [nioEventLoopGroup-334-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-334-1
11:39:44.398 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.401 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad5b8550, /127.0.0.1:56999 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.402 [nioEventLoopGroup-324-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:44.403 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad5b8550, /127.0.0.1:56999 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.403 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad5b8550, /127.0.0.1:56999 => /127.0.0.1:56988] FLUSH
11:39:44.403 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad5b8550, /127.0.0.1:56999 => /127.0.0.1:56988] FLUSH
11:39:44.403 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.403 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad5b8550, /127.0.0.1:56999 :> /127.0.0.1:56988] INACTIVE
11:39:44.403 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad5b8550, /127.0.0.1:56999 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.404 [nioEventLoopGroup-335-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-335-1
11:39:44.405 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.408 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcfb31b0, /127.0.0.1:57000 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:44.409 [nioEventLoopGroup-324-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:44.409 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcfb31b0, /127.0.0.1:57000 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.409 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcfb31b0, /127.0.0.1:57000 => /127.0.0.1:56988] FLUSH
11:39:44.410 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcfb31b0, /127.0.0.1:57000 => /127.0.0.1:56988] FLUSH
11:39:44.410 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.410 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcfb31b0, /127.0.0.1:57000 :> /127.0.0.1:56988] INACTIVE
11:39:44.410 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcfb31b0, /127.0.0.1:57000 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.410 [nioEventLoopGroup-336-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-336-1
11:39:44.411 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.414 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ee3dca5, /127.0.0.1:57001 => /127.0.0.1:56988] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:44.416 [nioEventLoopGroup-324-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:44.416 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ee3dca5, /127.0.0.1:57001 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.416 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ee3dca5, /127.0.0.1:57001 => /127.0.0.1:56988] FLUSH
11:39:44.417 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ee3dca5, /127.0.0.1:57001 => /127.0.0.1:56988] FLUSH
11:39:44.417 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ee3dca5, /127.0.0.1:57001 :> /127.0.0.1:56988] INACTIVE
11:39:44.417 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ee3dca5, /127.0.0.1:57001 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.417 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.417 [nioEventLoopGroup-337-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-337-1
11:39:44.422 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 => /127.0.0.1:56988] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56988
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:44.422 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.423 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.424 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:44.424 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.424 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.425 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.425 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.426 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:44.426 [nioEventLoopGroup-324-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:44.426 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:44.427 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 => /127.0.0.1:56988] FLUSH
11:39:44.429 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 => /127.0.0.1:56988] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:56988
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:44.430 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.430 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.430 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:44.431 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.431 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.431 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.432 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.432 [nioEventLoopGroup-324-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


11:39:44.432 [nioEventLoopGroup-324-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:56988" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:44.433 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
11:39:44.433 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 => /127.0.0.1:56988] FLUSH
11:39:44.433 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:44.437 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1ba3912, /127.0.0.1:57003 => /127.0.0.1:56988] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:56988
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:44.437 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1ba3912, /127.0.0.1:57003 => /127.0.0.1:56988] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.437 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1ba3912, /127.0.0.1:57003 => /127.0.0.1:56988] FLUSH
11:39:44.437 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1ba3912, /127.0.0.1:57003 => /127.0.0.1:56988] CLOSE()
11:39:44.438 [nioEventLoopGroup-324-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-1
11:39:44.438 [nioEventLoopGroup-324-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-3
11:39:44.438 [nioEventLoopGroup-324-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-2
11:39:44.438 [nioEventLoopGroup-324-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-4
11:39:44.438 [nioEventLoopGroup-324-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-5
11:39:44.439 [nioEventLoopGroup-324-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-8
11:39:44.439 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 :> /127.0.0.1:56988] INACTIVE
11:39:44.439 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x823ef4a8, /127.0.0.1:57002 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.438 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.439 [nioEventLoopGroup-338-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-338-1
11:39:44.472 [nioEventLoopGroup-292-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-7
11:39:44.472 [nioEventLoopGroup-292-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-6
11:39:44.476 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1f7688c9, /127.0.0.1:56987 :> /127.0.0.1:56970] FLUSH
11:39:44.476 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1f7688c9, /127.0.0.1:56987 :> /127.0.0.1:56970] INACTIVE
11:39:44.476 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1f7688c9, /127.0.0.1:56987 :> /127.0.0.1:56970] UNREGISTERED
11:39:44.476 [nioEventLoopGroup-308-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-8
11:39:44.796 [MockServer thread for port: 57004] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57004
11:39:44.796 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.799 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9137143, /127.0.0.1:57005 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:44.800 [nioEventLoopGroup-340-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:44.801 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9137143, /127.0.0.1:57005 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.801 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9137143, /127.0.0.1:57005 => /127.0.0.1:57004] FLUSH
11:39:44.801 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9137143, /127.0.0.1:57005 => /127.0.0.1:57004] FLUSH
11:39:44.801 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.801 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9137143, /127.0.0.1:57005 :> /127.0.0.1:57004] INACTIVE
11:39:44.801 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9137143, /127.0.0.1:57005 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.802 [nioEventLoopGroup-341-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-341-1
11:39:44.803 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.806 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x736246bf, /127.0.0.1:57006 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:44.807 [nioEventLoopGroup-340-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:44.807 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x736246bf, /127.0.0.1:57006 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.808 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x736246bf, /127.0.0.1:57006 => /127.0.0.1:57004] FLUSH
11:39:44.808 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x736246bf, /127.0.0.1:57006 => /127.0.0.1:57004] FLUSH
11:39:44.808 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.808 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x736246bf, /127.0.0.1:57006 :> /127.0.0.1:57004] INACTIVE
11:39:44.808 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x736246bf, /127.0.0.1:57006 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.808 [nioEventLoopGroup-342-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-342-1
11:39:44.809 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.812 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb0e0d4a, /127.0.0.1:57007 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:44.813 [nioEventLoopGroup-340-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:44.814 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb0e0d4a, /127.0.0.1:57007 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.814 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb0e0d4a, /127.0.0.1:57007 => /127.0.0.1:57004] FLUSH
11:39:44.814 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb0e0d4a, /127.0.0.1:57007 => /127.0.0.1:57004] FLUSH
11:39:44.814 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.814 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb0e0d4a, /127.0.0.1:57007 :> /127.0.0.1:57004] INACTIVE
11:39:44.814 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb0e0d4a, /127.0.0.1:57007 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.815 [nioEventLoopGroup-343-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-343-1
11:39:44.816 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.819 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8ca2107, /127.0.0.1:57008 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.820 [nioEventLoopGroup-340-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:44.820 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8ca2107, /127.0.0.1:57008 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.820 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8ca2107, /127.0.0.1:57008 => /127.0.0.1:57004] FLUSH
11:39:44.820 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8ca2107, /127.0.0.1:57008 => /127.0.0.1:57004] FLUSH
11:39:44.820 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.821 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8ca2107, /127.0.0.1:57008 :> /127.0.0.1:57004] INACTIVE
11:39:44.821 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8ca2107, /127.0.0.1:57008 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.821 [nioEventLoopGroup-344-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-344-1
11:39:44.822 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.825 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x02903f29, /127.0.0.1:57009 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:44.826 [nioEventLoopGroup-340-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:44.826 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x02903f29, /127.0.0.1:57009 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.826 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x02903f29, /127.0.0.1:57009 => /127.0.0.1:57004] FLUSH
11:39:44.827 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x02903f29, /127.0.0.1:57009 => /127.0.0.1:57004] FLUSH
11:39:44.827 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.827 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x02903f29, /127.0.0.1:57009 :> /127.0.0.1:57004] INACTIVE
11:39:44.827 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x02903f29, /127.0.0.1:57009 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.827 [nioEventLoopGroup-345-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-345-1
11:39:44.828 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.831 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81425125, /127.0.0.1:57010 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:44.832 [nioEventLoopGroup-340-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:44.832 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81425125, /127.0.0.1:57010 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.832 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81425125, /127.0.0.1:57010 => /127.0.0.1:57004] FLUSH
11:39:44.833 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.833 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81425125, /127.0.0.1:57010 => /127.0.0.1:57004] FLUSH
11:39:44.833 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81425125, /127.0.0.1:57010 :> /127.0.0.1:57004] INACTIVE
11:39:44.833 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81425125, /127.0.0.1:57010 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.833 [nioEventLoopGroup-346-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-346-1
11:39:44.834 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.838 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ec23c8a, /127.0.0.1:57011 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:44.839 [nioEventLoopGroup-340-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:44.839 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ec23c8a, /127.0.0.1:57011 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.839 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ec23c8a, /127.0.0.1:57011 => /127.0.0.1:57004] FLUSH
11:39:44.840 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ec23c8a, /127.0.0.1:57011 => /127.0.0.1:57004] FLUSH
11:39:44.840 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.840 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ec23c8a, /127.0.0.1:57011 :> /127.0.0.1:57004] INACTIVE
11:39:44.840 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ec23c8a, /127.0.0.1:57011 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.840 [nioEventLoopGroup-347-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-347-1
11:39:44.841 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.844 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43810672, /127.0.0.1:57012 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.845 [nioEventLoopGroup-340-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:44.846 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43810672, /127.0.0.1:57012 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.846 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43810672, /127.0.0.1:57012 => /127.0.0.1:57004] FLUSH
11:39:44.846 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43810672, /127.0.0.1:57012 => /127.0.0.1:57004] FLUSH
11:39:44.846 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.847 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43810672, /127.0.0.1:57012 :> /127.0.0.1:57004] INACTIVE
11:39:44.847 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43810672, /127.0.0.1:57012 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.847 [nioEventLoopGroup-348-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-348-1
11:39:44.848 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.850 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb226a71, /127.0.0.1:57013 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.851 [nioEventLoopGroup-340-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:44.851 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb226a71, /127.0.0.1:57013 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.852 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb226a71, /127.0.0.1:57013 => /127.0.0.1:57004] FLUSH
11:39:44.852 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb226a71, /127.0.0.1:57013 => /127.0.0.1:57004] FLUSH
11:39:44.852 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.852 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb226a71, /127.0.0.1:57013 :> /127.0.0.1:57004] INACTIVE
11:39:44.852 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdb226a71, /127.0.0.1:57013 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.852 [nioEventLoopGroup-349-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-349-1
11:39:44.853 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.856 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75e75863, /127.0.0.1:57014 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.857 [nioEventLoopGroup-340-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:44.857 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75e75863, /127.0.0.1:57014 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.857 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75e75863, /127.0.0.1:57014 => /127.0.0.1:57004] FLUSH
11:39:44.858 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75e75863, /127.0.0.1:57014 => /127.0.0.1:57004] FLUSH
11:39:44.858 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.858 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75e75863, /127.0.0.1:57014 :> /127.0.0.1:57004] INACTIVE
11:39:44.858 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75e75863, /127.0.0.1:57014 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.858 [nioEventLoopGroup-350-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-350-1
11:39:44.859 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.862 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0917190, /127.0.0.1:57015 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:44.863 [nioEventLoopGroup-340-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:44.863 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0917190, /127.0.0.1:57015 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.863 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0917190, /127.0.0.1:57015 => /127.0.0.1:57004] FLUSH
11:39:44.864 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0917190, /127.0.0.1:57015 => /127.0.0.1:57004] FLUSH
11:39:44.864 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.864 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0917190, /127.0.0.1:57015 :> /127.0.0.1:57004] INACTIVE
11:39:44.864 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0917190, /127.0.0.1:57015 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.864 [nioEventLoopGroup-351-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-351-1
11:39:44.865 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.868 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4c0e4fb, /127.0.0.1:57016 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:44.869 [nioEventLoopGroup-340-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:44.869 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4c0e4fb, /127.0.0.1:57016 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.869 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4c0e4fb, /127.0.0.1:57016 => /127.0.0.1:57004] FLUSH
11:39:44.870 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4c0e4fb, /127.0.0.1:57016 => /127.0.0.1:57004] FLUSH
11:39:44.870 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.870 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4c0e4fb, /127.0.0.1:57016 :> /127.0.0.1:57004] INACTIVE
11:39:44.870 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4c0e4fb, /127.0.0.1:57016 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.870 [nioEventLoopGroup-352-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-352-1
11:39:44.871 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:44.874 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d1ac3d8, /127.0.0.1:57017 => /127.0.0.1:57004] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:44.876 [nioEventLoopGroup-340-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:44.876 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d1ac3d8, /127.0.0.1:57017 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.876 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d1ac3d8, /127.0.0.1:57017 => /127.0.0.1:57004] FLUSH
11:39:44.877 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d1ac3d8, /127.0.0.1:57017 => /127.0.0.1:57004] FLUSH
11:39:44.877 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.877 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d1ac3d8, /127.0.0.1:57017 :> /127.0.0.1:57004] INACTIVE
11:39:44.877 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8d1ac3d8, /127.0.0.1:57017 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.877 [nioEventLoopGroup-353-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-353-1
11:39:44.882 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 => /127.0.0.1:57004] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57004
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:44.882 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.883 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.883 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:44.884 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.884 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.885 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.885 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.886 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.886 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:44.887 [nioEventLoopGroup-340-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:44.887 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:44.887 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 => /127.0.0.1:57004] FLUSH
11:39:44.889 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 => /127.0.0.1:57004] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57004
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:44.890 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.891 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.891 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:44.891 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.892 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.892 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.893 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.893 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:44.893 [nioEventLoopGroup-340-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


11:39:44.894 [nioEventLoopGroup-340-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57004" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:44.894 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
11:39:44.895 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 => /127.0.0.1:57004] FLUSH
11:39:44.895 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:44.898 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73476753, /127.0.0.1:57019 => /127.0.0.1:57004] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57004
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:44.899 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73476753, /127.0.0.1:57019 => /127.0.0.1:57004] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:44.899 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73476753, /127.0.0.1:57019 => /127.0.0.1:57004] FLUSH
11:39:44.899 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73476753, /127.0.0.1:57019 => /127.0.0.1:57004] CLOSE()
11:39:44.900 [nioEventLoopGroup-340-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-1
11:39:44.900 [nioEventLoopGroup-340-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-2
11:39:44.900 [nioEventLoopGroup-340-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-4
11:39:44.900 [nioEventLoopGroup-340-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-3
11:39:44.900 [nioEventLoopGroup-340-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-5
11:39:44.900 [nioEventLoopGroup-340-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-8
11:39:44.901 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 :> /127.0.0.1:57004] INACTIVE
11:39:44.901 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x703a6280, /127.0.0.1:57018 :> /127.0.0.1:57004] UNREGISTERED
11:39:44.901 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:44.901 [nioEventLoopGroup-354-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-354-1
11:39:44.941 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1ba3912, /127.0.0.1:57003 :> /127.0.0.1:56988] FLUSH
11:39:44.941 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1ba3912, /127.0.0.1:57003 :> /127.0.0.1:56988] INACTIVE
11:39:44.941 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1ba3912, /127.0.0.1:57003 :> /127.0.0.1:56988] UNREGISTERED
11:39:44.941 [nioEventLoopGroup-324-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-7
11:39:44.980 [nioEventLoopGroup-308-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-7
11:39:44.980 [nioEventLoopGroup-308-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-6
11:39:45.257 [MockServer thread for port: 57020] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57020
11:39:45.258 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.261 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1998ee7c, /127.0.0.1:57022 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:45.262 [nioEventLoopGroup-356-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:45.262 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1998ee7c, /127.0.0.1:57022 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.263 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1998ee7c, /127.0.0.1:57022 => /127.0.0.1:57020] FLUSH
11:39:45.263 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1998ee7c, /127.0.0.1:57022 => /127.0.0.1:57020] FLUSH
11:39:45.263 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1998ee7c, /127.0.0.1:57022 :> /127.0.0.1:57020] INACTIVE
11:39:45.263 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1998ee7c, /127.0.0.1:57022 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.263 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.263 [nioEventLoopGroup-357-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-357-1
11:39:45.264 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.267 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3fde471d, /127.0.0.1:57023 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:45.269 [nioEventLoopGroup-356-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:45.269 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3fde471d, /127.0.0.1:57023 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.269 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3fde471d, /127.0.0.1:57023 => /127.0.0.1:57020] FLUSH
11:39:45.270 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3fde471d, /127.0.0.1:57023 => /127.0.0.1:57020] FLUSH
11:39:45.270 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.270 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3fde471d, /127.0.0.1:57023 :> /127.0.0.1:57020] INACTIVE
11:39:45.270 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3fde471d, /127.0.0.1:57023 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.270 [nioEventLoopGroup-358-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-358-1
11:39:45.271 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.274 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72385246, /127.0.0.1:57024 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:45.276 [nioEventLoopGroup-356-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:45.276 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72385246, /127.0.0.1:57024 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.276 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72385246, /127.0.0.1:57024 => /127.0.0.1:57020] FLUSH
11:39:45.277 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72385246, /127.0.0.1:57024 => /127.0.0.1:57020] FLUSH
11:39:45.277 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.277 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72385246, /127.0.0.1:57024 :> /127.0.0.1:57020] INACTIVE
11:39:45.277 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72385246, /127.0.0.1:57024 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.277 [nioEventLoopGroup-359-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-359-1
11:39:45.278 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.281 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669af375, /127.0.0.1:57025 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.282 [nioEventLoopGroup-356-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:45.283 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669af375, /127.0.0.1:57025 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.283 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669af375, /127.0.0.1:57025 => /127.0.0.1:57020] FLUSH
11:39:45.283 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669af375, /127.0.0.1:57025 => /127.0.0.1:57020] FLUSH
11:39:45.283 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.284 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669af375, /127.0.0.1:57025 :> /127.0.0.1:57020] INACTIVE
11:39:45.284 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669af375, /127.0.0.1:57025 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.284 [nioEventLoopGroup-360-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-360-1
11:39:45.285 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.288 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4d31b62, /127.0.0.1:57026 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:45.289 [nioEventLoopGroup-356-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:45.290 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4d31b62, /127.0.0.1:57026 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.290 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4d31b62, /127.0.0.1:57026 => /127.0.0.1:57020] FLUSH
11:39:45.290 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4d31b62, /127.0.0.1:57026 => /127.0.0.1:57020] FLUSH
11:39:45.290 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.291 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4d31b62, /127.0.0.1:57026 :> /127.0.0.1:57020] INACTIVE
11:39:45.291 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4d31b62, /127.0.0.1:57026 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.291 [nioEventLoopGroup-361-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-361-1
11:39:45.292 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.295 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05c7e491, /127.0.0.1:57027 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:45.296 [nioEventLoopGroup-356-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:45.297 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05c7e491, /127.0.0.1:57027 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.297 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05c7e491, /127.0.0.1:57027 => /127.0.0.1:57020] FLUSH
11:39:45.297 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05c7e491, /127.0.0.1:57027 => /127.0.0.1:57020] FLUSH
11:39:45.297 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.297 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05c7e491, /127.0.0.1:57027 :> /127.0.0.1:57020] INACTIVE
11:39:45.297 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05c7e491, /127.0.0.1:57027 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.298 [nioEventLoopGroup-362-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-362-1
11:39:45.298 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.301 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5990080, /127.0.0.1:57028 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:45.302 [nioEventLoopGroup-356-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:45.303 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5990080, /127.0.0.1:57028 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.303 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5990080, /127.0.0.1:57028 => /127.0.0.1:57020] FLUSH
11:39:45.303 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5990080, /127.0.0.1:57028 => /127.0.0.1:57020] FLUSH
11:39:45.303 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5990080, /127.0.0.1:57028 :> /127.0.0.1:57020] INACTIVE
11:39:45.303 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe5990080, /127.0.0.1:57028 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.303 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.304 [nioEventLoopGroup-363-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-363-1
11:39:45.305 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.308 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf689573b, /127.0.0.1:57029 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.309 [nioEventLoopGroup-356-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:45.309 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf689573b, /127.0.0.1:57029 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.309 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf689573b, /127.0.0.1:57029 => /127.0.0.1:57020] FLUSH
11:39:45.310 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf689573b, /127.0.0.1:57029 => /127.0.0.1:57020] FLUSH
11:39:45.309 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.310 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf689573b, /127.0.0.1:57029 :> /127.0.0.1:57020] INACTIVE
11:39:45.310 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf689573b, /127.0.0.1:57029 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.310 [nioEventLoopGroup-364-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-364-1
11:39:45.311 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.314 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb82445f, /127.0.0.1:57030 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.315 [nioEventLoopGroup-356-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:45.315 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb82445f, /127.0.0.1:57030 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.315 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb82445f, /127.0.0.1:57030 => /127.0.0.1:57020] FLUSH
11:39:45.316 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb82445f, /127.0.0.1:57030 => /127.0.0.1:57020] FLUSH
11:39:45.316 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.316 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb82445f, /127.0.0.1:57030 :> /127.0.0.1:57020] INACTIVE
11:39:45.316 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb82445f, /127.0.0.1:57030 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.316 [nioEventLoopGroup-365-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-365-1
11:39:45.317 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.320 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3335a7ce, /127.0.0.1:57031 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.321 [nioEventLoopGroup-356-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:45.321 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3335a7ce, /127.0.0.1:57031 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.321 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3335a7ce, /127.0.0.1:57031 => /127.0.0.1:57020] FLUSH
11:39:45.322 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3335a7ce, /127.0.0.1:57031 => /127.0.0.1:57020] FLUSH
11:39:45.322 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3335a7ce, /127.0.0.1:57031 :> /127.0.0.1:57020] INACTIVE
11:39:45.322 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3335a7ce, /127.0.0.1:57031 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.322 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.322 [nioEventLoopGroup-366-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-366-1
11:39:45.323 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.326 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6089dda3, /127.0.0.1:57032 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.327 [nioEventLoopGroup-356-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:45.327 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6089dda3, /127.0.0.1:57032 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.327 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6089dda3, /127.0.0.1:57032 => /127.0.0.1:57020] FLUSH
11:39:45.328 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6089dda3, /127.0.0.1:57032 => /127.0.0.1:57020] FLUSH
11:39:45.328 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6089dda3, /127.0.0.1:57032 :> /127.0.0.1:57020] INACTIVE
11:39:45.328 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6089dda3, /127.0.0.1:57032 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.328 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.328 [nioEventLoopGroup-367-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-367-1
11:39:45.329 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.333 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x243df02c, /127.0.0.1:57033 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:45.334 [nioEventLoopGroup-356-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:45.334 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x243df02c, /127.0.0.1:57033 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.334 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x243df02c, /127.0.0.1:57033 => /127.0.0.1:57020] FLUSH
11:39:45.335 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x243df02c, /127.0.0.1:57033 => /127.0.0.1:57020] FLUSH
11:39:45.335 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.335 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x243df02c, /127.0.0.1:57033 :> /127.0.0.1:57020] INACTIVE
11:39:45.335 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x243df02c, /127.0.0.1:57033 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.335 [nioEventLoopGroup-368-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-368-1
11:39:45.336 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.340 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ec1c7eb, /127.0.0.1:57034 => /127.0.0.1:57020] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:45.341 [nioEventLoopGroup-356-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:45.341 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ec1c7eb, /127.0.0.1:57034 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.341 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ec1c7eb, /127.0.0.1:57034 => /127.0.0.1:57020] FLUSH
11:39:45.342 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ec1c7eb, /127.0.0.1:57034 => /127.0.0.1:57020] FLUSH
11:39:45.342 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.342 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ec1c7eb, /127.0.0.1:57034 :> /127.0.0.1:57020] INACTIVE
11:39:45.342 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ec1c7eb, /127.0.0.1:57034 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.342 [nioEventLoopGroup-369-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-369-1
11:39:45.347 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 => /127.0.0.1:57020] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57020
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:45.347 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.348 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.348 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:45.348 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.349 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.349 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.349 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.350 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.350 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.350 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:45.351 [nioEventLoopGroup-356-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:45.351 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:45.352 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 => /127.0.0.1:57020] FLUSH
11:39:45.354 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 => /127.0.0.1:57020] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57020
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:45.355 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.355 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.355 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:45.356 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.356 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.357 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.357 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.357 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.358 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.358 [nioEventLoopGroup-356-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


11:39:45.359 [nioEventLoopGroup-356-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57020" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:45.359 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
11:39:45.359 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 => /127.0.0.1:57020] FLUSH
11:39:45.360 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:45.362 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2432d223, /127.0.0.1:57036 => /127.0.0.1:57020] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57020
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:45.363 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2432d223, /127.0.0.1:57036 => /127.0.0.1:57020] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.363 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2432d223, /127.0.0.1:57036 => /127.0.0.1:57020] FLUSH
11:39:45.363 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2432d223, /127.0.0.1:57036 => /127.0.0.1:57020] CLOSE()
11:39:45.364 [nioEventLoopGroup-356-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-2
11:39:45.364 [nioEventLoopGroup-356-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-3
11:39:45.364 [nioEventLoopGroup-356-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-1
11:39:45.364 [nioEventLoopGroup-356-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-5
11:39:45.364 [nioEventLoopGroup-356-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-4
11:39:45.364 [nioEventLoopGroup-356-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-8
11:39:45.364 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 :> /127.0.0.1:57020] INACTIVE
11:39:45.365 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa02e10f5, /127.0.0.1:57035 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.365 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.365 [nioEventLoopGroup-370-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-370-1
11:39:45.401 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73476753, /127.0.0.1:57019 :> /127.0.0.1:57004] FLUSH
11:39:45.402 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73476753, /127.0.0.1:57019 :> /127.0.0.1:57004] INACTIVE
11:39:45.402 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73476753, /127.0.0.1:57019 :> /127.0.0.1:57004] UNREGISTERED
11:39:45.402 [nioEventLoopGroup-340-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-7
11:39:45.441 [nioEventLoopGroup-324-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-6
11:39:45.723 [MockServer thread for port: 57037] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57037
11:39:45.724 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.728 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ea7b49a, /127.0.0.1:57038 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:45.729 [nioEventLoopGroup-372-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:45.729 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ea7b49a, /127.0.0.1:57038 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.730 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ea7b49a, /127.0.0.1:57038 => /127.0.0.1:57037] FLUSH
11:39:45.730 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ea7b49a, /127.0.0.1:57038 => /127.0.0.1:57037] FLUSH
11:39:45.730 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.730 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ea7b49a, /127.0.0.1:57038 :> /127.0.0.1:57037] INACTIVE
11:39:45.730 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ea7b49a, /127.0.0.1:57038 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.730 [nioEventLoopGroup-373-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-373-1
11:39:45.731 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.735 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bd2dbb6, /127.0.0.1:57039 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:45.736 [nioEventLoopGroup-372-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:45.736 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bd2dbb6, /127.0.0.1:57039 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.737 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bd2dbb6, /127.0.0.1:57039 => /127.0.0.1:57037] FLUSH
11:39:45.737 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bd2dbb6, /127.0.0.1:57039 => /127.0.0.1:57037] FLUSH
11:39:45.737 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.737 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bd2dbb6, /127.0.0.1:57039 :> /127.0.0.1:57037] INACTIVE
11:39:45.737 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bd2dbb6, /127.0.0.1:57039 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.737 [nioEventLoopGroup-374-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-374-1
11:39:45.738 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.742 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc68e789f, /127.0.0.1:57040 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:45.743 [nioEventLoopGroup-372-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:45.743 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc68e789f, /127.0.0.1:57040 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.743 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc68e789f, /127.0.0.1:57040 => /127.0.0.1:57037] FLUSH
11:39:45.744 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc68e789f, /127.0.0.1:57040 => /127.0.0.1:57037] FLUSH
11:39:45.744 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.744 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc68e789f, /127.0.0.1:57040 :> /127.0.0.1:57037] INACTIVE
11:39:45.744 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc68e789f, /127.0.0.1:57040 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.744 [nioEventLoopGroup-375-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-375-1
11:39:45.745 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.748 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x219e9d1d, /127.0.0.1:57041 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.749 [nioEventLoopGroup-372-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:45.750 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x219e9d1d, /127.0.0.1:57041 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.750 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x219e9d1d, /127.0.0.1:57041 => /127.0.0.1:57037] FLUSH
11:39:45.750 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x219e9d1d, /127.0.0.1:57041 => /127.0.0.1:57037] FLUSH
11:39:45.750 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.750 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x219e9d1d, /127.0.0.1:57041 :> /127.0.0.1:57037] INACTIVE
11:39:45.751 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x219e9d1d, /127.0.0.1:57041 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.751 [nioEventLoopGroup-376-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-376-1
11:39:45.752 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.755 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x478f0a51, /127.0.0.1:57042 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:45.756 [nioEventLoopGroup-372-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:45.757 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x478f0a51, /127.0.0.1:57042 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.757 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x478f0a51, /127.0.0.1:57042 => /127.0.0.1:57037] FLUSH
11:39:45.758 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x478f0a51, /127.0.0.1:57042 => /127.0.0.1:57037] FLUSH
11:39:45.758 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.758 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x478f0a51, /127.0.0.1:57042 :> /127.0.0.1:57037] INACTIVE
11:39:45.758 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x478f0a51, /127.0.0.1:57042 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.758 [nioEventLoopGroup-377-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-377-1
11:39:45.761 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.764 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08837216, /127.0.0.1:57043 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:45.766 [nioEventLoopGroup-372-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:45.766 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08837216, /127.0.0.1:57043 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.766 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08837216, /127.0.0.1:57043 => /127.0.0.1:57037] FLUSH
11:39:45.767 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08837216, /127.0.0.1:57043 => /127.0.0.1:57037] FLUSH
11:39:45.767 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08837216, /127.0.0.1:57043 :> /127.0.0.1:57037] INACTIVE
11:39:45.767 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08837216, /127.0.0.1:57043 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.767 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.767 [nioEventLoopGroup-378-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-378-1
11:39:45.768 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.772 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21bc08af, /127.0.0.1:57044 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:45.773 [nioEventLoopGroup-372-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:45.774 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21bc08af, /127.0.0.1:57044 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.774 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21bc08af, /127.0.0.1:57044 => /127.0.0.1:57037] FLUSH
11:39:45.774 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21bc08af, /127.0.0.1:57044 => /127.0.0.1:57037] FLUSH
11:39:45.774 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.774 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21bc08af, /127.0.0.1:57044 :> /127.0.0.1:57037] INACTIVE
11:39:45.774 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21bc08af, /127.0.0.1:57044 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.775 [nioEventLoopGroup-379-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-379-1
11:39:45.775 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.779 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc120807, /127.0.0.1:57045 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.780 [nioEventLoopGroup-372-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:45.780 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc120807, /127.0.0.1:57045 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.781 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc120807, /127.0.0.1:57045 => /127.0.0.1:57037] FLUSH
11:39:45.781 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc120807, /127.0.0.1:57045 => /127.0.0.1:57037] FLUSH
11:39:45.781 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.781 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc120807, /127.0.0.1:57045 :> /127.0.0.1:57037] INACTIVE
11:39:45.781 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc120807, /127.0.0.1:57045 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.782 [nioEventLoopGroup-380-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-380-1
11:39:45.782 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.786 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1761b15, /127.0.0.1:57046 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.787 [nioEventLoopGroup-372-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:45.787 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1761b15, /127.0.0.1:57046 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.787 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1761b15, /127.0.0.1:57046 => /127.0.0.1:57037] FLUSH
11:39:45.788 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1761b15, /127.0.0.1:57046 => /127.0.0.1:57037] FLUSH
11:39:45.788 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.788 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1761b15, /127.0.0.1:57046 :> /127.0.0.1:57037] INACTIVE
11:39:45.788 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1761b15, /127.0.0.1:57046 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.788 [nioEventLoopGroup-381-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-381-1
11:39:45.789 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.792 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4281f18, /127.0.0.1:57047 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.793 [nioEventLoopGroup-372-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:45.793 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4281f18, /127.0.0.1:57047 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.794 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4281f18, /127.0.0.1:57047 => /127.0.0.1:57037] FLUSH
11:39:45.794 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4281f18, /127.0.0.1:57047 => /127.0.0.1:57037] FLUSH
11:39:45.794 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.794 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4281f18, /127.0.0.1:57047 :> /127.0.0.1:57037] INACTIVE
11:39:45.794 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4281f18, /127.0.0.1:57047 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.794 [nioEventLoopGroup-382-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-382-1
11:39:45.795 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.799 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x822e11d0, /127.0.0.1:57048 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:45.800 [nioEventLoopGroup-372-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:45.800 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x822e11d0, /127.0.0.1:57048 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.800 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x822e11d0, /127.0.0.1:57048 => /127.0.0.1:57037] FLUSH
11:39:45.801 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x822e11d0, /127.0.0.1:57048 => /127.0.0.1:57037] FLUSH
11:39:45.801 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.801 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x822e11d0, /127.0.0.1:57048 :> /127.0.0.1:57037] INACTIVE
11:39:45.801 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x822e11d0, /127.0.0.1:57048 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.801 [nioEventLoopGroup-383-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-383-1
11:39:45.802 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.805 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd355aee1, /127.0.0.1:57049 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:45.807 [nioEventLoopGroup-372-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:45.807 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd355aee1, /127.0.0.1:57049 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.807 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd355aee1, /127.0.0.1:57049 => /127.0.0.1:57037] FLUSH
11:39:45.807 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.807 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd355aee1, /127.0.0.1:57049 => /127.0.0.1:57037] FLUSH
11:39:45.808 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd355aee1, /127.0.0.1:57049 :> /127.0.0.1:57037] INACTIVE
11:39:45.808 [nioEventLoopGroup-384-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-384-1
11:39:45.808 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd355aee1, /127.0.0.1:57049 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.809 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:45.813 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ccffbf5, /127.0.0.1:57050 => /127.0.0.1:57037] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:45.814 [nioEventLoopGroup-372-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:45.814 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ccffbf5, /127.0.0.1:57050 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.815 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ccffbf5, /127.0.0.1:57050 => /127.0.0.1:57037] FLUSH
11:39:45.815 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.815 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ccffbf5, /127.0.0.1:57050 => /127.0.0.1:57037] FLUSH
11:39:45.815 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ccffbf5, /127.0.0.1:57050 :> /127.0.0.1:57037] INACTIVE
11:39:45.815 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4ccffbf5, /127.0.0.1:57050 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.815 [nioEventLoopGroup-385-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-385-1
11:39:45.819 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 => /127.0.0.1:57037] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57037
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:45.820 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.820 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.821 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:45.821 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.821 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.822 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.822 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.823 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.823 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.823 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.824 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:45.824 [nioEventLoopGroup-372-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:45.824 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:45.825 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 => /127.0.0.1:57037] FLUSH
11:39:45.830 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 => /127.0.0.1:57037] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57037
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:45.830 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.831 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.831 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:45.831 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.832 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.832 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.833 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.833 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.834 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.834 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:45.834 [nioEventLoopGroup-372-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


11:39:45.835 [nioEventLoopGroup-372-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57037" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:45.835 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
11:39:45.835 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 => /127.0.0.1:57037] FLUSH
11:39:45.836 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:45.840 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa669466e, /127.0.0.1:57052 => /127.0.0.1:57037] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57037
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:45.840 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa669466e, /127.0.0.1:57052 => /127.0.0.1:57037] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:45.840 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa669466e, /127.0.0.1:57052 => /127.0.0.1:57037] FLUSH
11:39:45.840 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa669466e, /127.0.0.1:57052 => /127.0.0.1:57037] CLOSE()
11:39:45.841 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:45.842 [nioEventLoopGroup-372-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-1
11:39:45.842 [nioEventLoopGroup-372-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-2
11:39:45.842 [nioEventLoopGroup-372-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-3
11:39:45.842 [nioEventLoopGroup-372-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-4
11:39:45.842 [nioEventLoopGroup-372-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-5
11:39:45.842 [nioEventLoopGroup-372-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-8
11:39:45.842 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 :> /127.0.0.1:57037] INACTIVE
11:39:45.842 [nioEventLoopGroup-386-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-386-1
11:39:45.843 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f232264, /127.0.0.1:57051 :> /127.0.0.1:57037] UNREGISTERED
11:39:45.866 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2432d223, /127.0.0.1:57036 :> /127.0.0.1:57020] FLUSH
11:39:45.866 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2432d223, /127.0.0.1:57036 :> /127.0.0.1:57020] INACTIVE
11:39:45.866 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2432d223, /127.0.0.1:57036 :> /127.0.0.1:57020] UNREGISTERED
11:39:45.866 [nioEventLoopGroup-356-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-7
11:39:45.901 [nioEventLoopGroup-340-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-6
11:39:46.204 [MockServer thread for port: 57053] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57053
11:39:46.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.208 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2b608f8, /127.0.0.1:57055 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:46.209 [nioEventLoopGroup-388-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:46.209 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2b608f8, /127.0.0.1:57055 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.209 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2b608f8, /127.0.0.1:57055 => /127.0.0.1:57053] FLUSH
11:39:46.210 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2b608f8, /127.0.0.1:57055 => /127.0.0.1:57053] FLUSH
11:39:46.210 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.210 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2b608f8, /127.0.0.1:57055 :> /127.0.0.1:57053] INACTIVE
11:39:46.210 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2b608f8, /127.0.0.1:57055 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.210 [nioEventLoopGroup-389-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-389-1
11:39:46.211 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.216 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9612bef, /127.0.0.1:57056 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:46.218 [nioEventLoopGroup-388-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:46.218 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9612bef, /127.0.0.1:57056 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.218 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9612bef, /127.0.0.1:57056 => /127.0.0.1:57053] FLUSH
11:39:46.219 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9612bef, /127.0.0.1:57056 => /127.0.0.1:57053] FLUSH
11:39:46.219 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.219 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9612bef, /127.0.0.1:57056 :> /127.0.0.1:57053] INACTIVE
11:39:46.219 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9612bef, /127.0.0.1:57056 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.219 [nioEventLoopGroup-390-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-390-1
11:39:46.227 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.230 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5aef01b, /127.0.0.1:57057 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:46.231 [nioEventLoopGroup-388-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:46.231 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5aef01b, /127.0.0.1:57057 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.231 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5aef01b, /127.0.0.1:57057 => /127.0.0.1:57053] FLUSH
11:39:46.232 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5aef01b, /127.0.0.1:57057 => /127.0.0.1:57053] FLUSH
11:39:46.232 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.232 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5aef01b, /127.0.0.1:57057 :> /127.0.0.1:57053] INACTIVE
11:39:46.232 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5aef01b, /127.0.0.1:57057 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.232 [nioEventLoopGroup-391-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-391-1
11:39:46.233 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.236 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8502a4a6, /127.0.0.1:57058 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.237 [nioEventLoopGroup-388-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:46.237 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8502a4a6, /127.0.0.1:57058 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.237 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8502a4a6, /127.0.0.1:57058 => /127.0.0.1:57053] FLUSH
11:39:46.238 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8502a4a6, /127.0.0.1:57058 => /127.0.0.1:57053] FLUSH
11:39:46.238 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.238 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8502a4a6, /127.0.0.1:57058 :> /127.0.0.1:57053] INACTIVE
11:39:46.238 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8502a4a6, /127.0.0.1:57058 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.238 [nioEventLoopGroup-392-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-392-1
11:39:46.239 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.242 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a97314e, /127.0.0.1:57059 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:46.243 [nioEventLoopGroup-388-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:46.243 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a97314e, /127.0.0.1:57059 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.243 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a97314e, /127.0.0.1:57059 => /127.0.0.1:57053] FLUSH
11:39:46.244 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a97314e, /127.0.0.1:57059 => /127.0.0.1:57053] FLUSH
11:39:46.244 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.244 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a97314e, /127.0.0.1:57059 :> /127.0.0.1:57053] INACTIVE
11:39:46.244 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a97314e, /127.0.0.1:57059 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.244 [nioEventLoopGroup-393-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-393-1
11:39:46.245 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.248 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x920a2f16, /127.0.0.1:57060 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:46.249 [nioEventLoopGroup-388-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:46.249 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x920a2f16, /127.0.0.1:57060 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.249 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x920a2f16, /127.0.0.1:57060 => /127.0.0.1:57053] FLUSH
11:39:46.250 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x920a2f16, /127.0.0.1:57060 => /127.0.0.1:57053] FLUSH
11:39:46.250 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.250 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x920a2f16, /127.0.0.1:57060 :> /127.0.0.1:57053] INACTIVE
11:39:46.250 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x920a2f16, /127.0.0.1:57060 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.250 [nioEventLoopGroup-394-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-394-1
11:39:46.251 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.254 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2c2838, /127.0.0.1:57061 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:46.255 [nioEventLoopGroup-388-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:46.255 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2c2838, /127.0.0.1:57061 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.255 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2c2838, /127.0.0.1:57061 => /127.0.0.1:57053] FLUSH
11:39:46.256 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2c2838, /127.0.0.1:57061 => /127.0.0.1:57053] FLUSH
11:39:46.256 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.256 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2c2838, /127.0.0.1:57061 :> /127.0.0.1:57053] INACTIVE
11:39:46.256 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2c2838, /127.0.0.1:57061 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.256 [nioEventLoopGroup-395-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-395-1
11:39:46.258 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.261 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0965221, /127.0.0.1:57062 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.263 [nioEventLoopGroup-388-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:46.263 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0965221, /127.0.0.1:57062 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.263 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0965221, /127.0.0.1:57062 => /127.0.0.1:57053] FLUSH
11:39:46.263 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0965221, /127.0.0.1:57062 => /127.0.0.1:57053] FLUSH
11:39:46.263 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.263 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0965221, /127.0.0.1:57062 :> /127.0.0.1:57053] INACTIVE
11:39:46.264 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0965221, /127.0.0.1:57062 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.264 [nioEventLoopGroup-396-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-396-1
11:39:46.264 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.267 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e38575, /127.0.0.1:57063 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.268 [nioEventLoopGroup-388-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:46.268 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e38575, /127.0.0.1:57063 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.269 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e38575, /127.0.0.1:57063 => /127.0.0.1:57053] FLUSH
11:39:46.269 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e38575, /127.0.0.1:57063 => /127.0.0.1:57053] FLUSH
11:39:46.269 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.269 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e38575, /127.0.0.1:57063 :> /127.0.0.1:57053] INACTIVE
11:39:46.269 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe0e38575, /127.0.0.1:57063 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.269 [nioEventLoopGroup-397-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-397-1
11:39:46.270 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.273 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x812a2b66, /127.0.0.1:57064 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.274 [nioEventLoopGroup-388-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:46.274 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x812a2b66, /127.0.0.1:57064 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.274 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x812a2b66, /127.0.0.1:57064 => /127.0.0.1:57053] FLUSH
11:39:46.275 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x812a2b66, /127.0.0.1:57064 => /127.0.0.1:57053] FLUSH
11:39:46.275 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.275 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x812a2b66, /127.0.0.1:57064 :> /127.0.0.1:57053] INACTIVE
11:39:46.275 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x812a2b66, /127.0.0.1:57064 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.275 [nioEventLoopGroup-398-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-398-1
11:39:46.276 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.279 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35901cf1, /127.0.0.1:57065 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.280 [nioEventLoopGroup-388-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:46.280 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35901cf1, /127.0.0.1:57065 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.280 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35901cf1, /127.0.0.1:57065 => /127.0.0.1:57053] FLUSH
11:39:46.281 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35901cf1, /127.0.0.1:57065 => /127.0.0.1:57053] FLUSH
11:39:46.281 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.281 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35901cf1, /127.0.0.1:57065 :> /127.0.0.1:57053] INACTIVE
11:39:46.281 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35901cf1, /127.0.0.1:57065 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.281 [nioEventLoopGroup-399-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-399-1
11:39:46.282 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.285 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91d557b3, /127.0.0.1:57066 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:46.286 [nioEventLoopGroup-388-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:46.286 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91d557b3, /127.0.0.1:57066 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.286 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91d557b3, /127.0.0.1:57066 => /127.0.0.1:57053] FLUSH
11:39:46.287 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91d557b3, /127.0.0.1:57066 => /127.0.0.1:57053] FLUSH
11:39:46.287 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.287 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91d557b3, /127.0.0.1:57066 :> /127.0.0.1:57053] INACTIVE
11:39:46.287 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91d557b3, /127.0.0.1:57066 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.287 [nioEventLoopGroup-400-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-400-1
11:39:46.288 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.291 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d54c579, /127.0.0.1:57067 => /127.0.0.1:57053] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:46.292 [nioEventLoopGroup-388-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:46.292 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d54c579, /127.0.0.1:57067 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.292 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d54c579, /127.0.0.1:57067 => /127.0.0.1:57053] FLUSH
11:39:46.295 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d54c579, /127.0.0.1:57067 => /127.0.0.1:57053] FLUSH
11:39:46.295 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.295 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d54c579, /127.0.0.1:57067 :> /127.0.0.1:57053] INACTIVE
11:39:46.295 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d54c579, /127.0.0.1:57067 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.295 [nioEventLoopGroup-401-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-401-1
11:39:46.309 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0d6eb8, /127.0.0.1:57068 => /127.0.0.1:57053] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Host: localhost:57053
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:46.309 [nioEventLoopGroup-388-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57053" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


11:39:46.310 [nioEventLoopGroup-388-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57053" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:46.310 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0d6eb8, /127.0.0.1:57068 => /127.0.0.1:57053] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:46.310 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0d6eb8, /127.0.0.1:57068 => /127.0.0.1:57053] FLUSH
11:39:46.320 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2d1d8e, /127.0.0.1:57069 => /127.0.0.1:57053] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Host: localhost:57053
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:46.320 [nioEventLoopGroup-388-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57053" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


11:39:46.321 [nioEventLoopGroup-388-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57053" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:46.321 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2d1d8e, /127.0.0.1:57069 => /127.0.0.1:57053] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:46.321 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2d1d8e, /127.0.0.1:57069 => /127.0.0.1:57053] FLUSH
11:39:46.323 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:46.326 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9f705fe, /127.0.0.1:57070 => /127.0.0.1:57053] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57053
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:46.326 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9f705fe, /127.0.0.1:57070 => /127.0.0.1:57053] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.326 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9f705fe, /127.0.0.1:57070 => /127.0.0.1:57053] FLUSH
11:39:46.326 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9f705fe, /127.0.0.1:57070 => /127.0.0.1:57053] CLOSE()
11:39:46.327 [nioEventLoopGroup-388-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-1
11:39:46.327 [nioEventLoopGroup-388-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-3
11:39:46.328 [nioEventLoopGroup-388-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-4
11:39:46.328 [nioEventLoopGroup-388-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-5
11:39:46.327 [nioEventLoopGroup-388-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-2
11:39:46.328 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0d6eb8, /127.0.0.1:57068 :> /127.0.0.1:57053] INACTIVE
11:39:46.328 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2d1d8e, /127.0.0.1:57069 :> /127.0.0.1:57053] INACTIVE
11:39:46.328 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0d6eb8, /127.0.0.1:57068 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.328 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b2d1d8e, /127.0.0.1:57069 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.327 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.328 [nioEventLoopGroup-402-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-402-1
11:39:46.347 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa669466e, /127.0.0.1:57052 :> /127.0.0.1:57037] FLUSH
11:39:46.347 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa669466e, /127.0.0.1:57052 :> /127.0.0.1:57037] INACTIVE
11:39:46.347 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa669466e, /127.0.0.1:57052 :> /127.0.0.1:57037] UNREGISTERED
11:39:46.347 [nioEventLoopGroup-372-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-7
11:39:46.368 [nioEventLoopGroup-356-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-6
11:39:46.682 [MockServer thread for port: 57071] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57071
11:39:46.683 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.688 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2612542, /127.0.0.1:57074 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:46.689 [nioEventLoopGroup-404-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:46.690 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2612542, /127.0.0.1:57074 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.690 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2612542, /127.0.0.1:57074 => /127.0.0.1:57071] FLUSH
11:39:46.690 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2612542, /127.0.0.1:57074 => /127.0.0.1:57071] FLUSH
11:39:46.690 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2612542, /127.0.0.1:57074 :> /127.0.0.1:57071] INACTIVE
11:39:46.690 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.691 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2612542, /127.0.0.1:57074 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.691 [nioEventLoopGroup-405-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-405-1
11:39:46.692 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.695 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x902fc2ea, /127.0.0.1:57076 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:46.697 [nioEventLoopGroup-404-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:46.697 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x902fc2ea, /127.0.0.1:57076 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.697 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x902fc2ea, /127.0.0.1:57076 => /127.0.0.1:57071] FLUSH
11:39:46.698 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x902fc2ea, /127.0.0.1:57076 => /127.0.0.1:57071] FLUSH
11:39:46.698 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x902fc2ea, /127.0.0.1:57076 :> /127.0.0.1:57071] INACTIVE
11:39:46.698 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x902fc2ea, /127.0.0.1:57076 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.698 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.698 [nioEventLoopGroup-406-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-406-1
11:39:46.699 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.703 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd8c0a50, /127.0.0.1:57077 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:46.704 [nioEventLoopGroup-404-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:46.704 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd8c0a50, /127.0.0.1:57077 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.704 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd8c0a50, /127.0.0.1:57077 => /127.0.0.1:57071] FLUSH
11:39:46.705 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd8c0a50, /127.0.0.1:57077 => /127.0.0.1:57071] FLUSH
11:39:46.705 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.705 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd8c0a50, /127.0.0.1:57077 :> /127.0.0.1:57071] INACTIVE
11:39:46.705 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd8c0a50, /127.0.0.1:57077 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.705 [nioEventLoopGroup-407-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-407-1
11:39:46.706 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.709 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36c5dc14, /127.0.0.1:57078 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.710 [nioEventLoopGroup-404-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:46.711 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36c5dc14, /127.0.0.1:57078 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.711 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36c5dc14, /127.0.0.1:57078 => /127.0.0.1:57071] FLUSH
11:39:46.711 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36c5dc14, /127.0.0.1:57078 => /127.0.0.1:57071] FLUSH
11:39:46.712 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36c5dc14, /127.0.0.1:57078 :> /127.0.0.1:57071] INACTIVE
11:39:46.712 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36c5dc14, /127.0.0.1:57078 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.711 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.712 [nioEventLoopGroup-408-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-408-1
11:39:46.713 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.716 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63edc453, /127.0.0.1:57079 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:46.717 [nioEventLoopGroup-404-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:46.718 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63edc453, /127.0.0.1:57079 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.718 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63edc453, /127.0.0.1:57079 => /127.0.0.1:57071] FLUSH
11:39:46.718 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63edc453, /127.0.0.1:57079 => /127.0.0.1:57071] FLUSH
11:39:46.718 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63edc453, /127.0.0.1:57079 :> /127.0.0.1:57071] INACTIVE
11:39:46.718 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.718 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63edc453, /127.0.0.1:57079 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.719 [nioEventLoopGroup-409-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-409-1
11:39:46.720 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.723 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa499115b, /127.0.0.1:57080 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:46.724 [nioEventLoopGroup-404-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:46.724 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa499115b, /127.0.0.1:57080 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.724 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa499115b, /127.0.0.1:57080 => /127.0.0.1:57071] FLUSH
11:39:46.725 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa499115b, /127.0.0.1:57080 => /127.0.0.1:57071] FLUSH
11:39:46.725 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa499115b, /127.0.0.1:57080 :> /127.0.0.1:57071] INACTIVE
11:39:46.725 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa499115b, /127.0.0.1:57080 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.725 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.725 [nioEventLoopGroup-410-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-410-1
11:39:46.726 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.731 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91de2264, /127.0.0.1:57081 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:46.732 [nioEventLoopGroup-404-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:46.732 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91de2264, /127.0.0.1:57081 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.733 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91de2264, /127.0.0.1:57081 => /127.0.0.1:57071] FLUSH
11:39:46.733 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91de2264, /127.0.0.1:57081 => /127.0.0.1:57071] FLUSH
11:39:46.733 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91de2264, /127.0.0.1:57081 :> /127.0.0.1:57071] INACTIVE
11:39:46.733 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.733 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91de2264, /127.0.0.1:57081 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.733 [nioEventLoopGroup-411-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-411-1
11:39:46.734 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.737 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc56fe255, /127.0.0.1:57082 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.738 [nioEventLoopGroup-404-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:46.739 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc56fe255, /127.0.0.1:57082 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.739 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc56fe255, /127.0.0.1:57082 => /127.0.0.1:57071] FLUSH
11:39:46.739 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc56fe255, /127.0.0.1:57082 => /127.0.0.1:57071] FLUSH
11:39:46.739 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc56fe255, /127.0.0.1:57082 :> /127.0.0.1:57071] INACTIVE
11:39:46.740 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc56fe255, /127.0.0.1:57082 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.739 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.740 [nioEventLoopGroup-412-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-412-1
11:39:46.741 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.744 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab1ad5db, /127.0.0.1:57083 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.745 [nioEventLoopGroup-404-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:46.745 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab1ad5db, /127.0.0.1:57083 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.745 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab1ad5db, /127.0.0.1:57083 => /127.0.0.1:57071] FLUSH
11:39:46.746 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.746 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab1ad5db, /127.0.0.1:57083 => /127.0.0.1:57071] FLUSH
11:39:46.746 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab1ad5db, /127.0.0.1:57083 :> /127.0.0.1:57071] INACTIVE
11:39:46.746 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab1ad5db, /127.0.0.1:57083 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.746 [nioEventLoopGroup-413-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-413-1
11:39:46.747 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.750 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7e8e966, /127.0.0.1:57084 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.751 [nioEventLoopGroup-404-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:46.751 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7e8e966, /127.0.0.1:57084 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.751 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7e8e966, /127.0.0.1:57084 => /127.0.0.1:57071] FLUSH
11:39:46.752 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7e8e966, /127.0.0.1:57084 => /127.0.0.1:57071] FLUSH
11:39:46.752 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7e8e966, /127.0.0.1:57084 :> /127.0.0.1:57071] INACTIVE
11:39:46.752 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7e8e966, /127.0.0.1:57084 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.752 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.753 [nioEventLoopGroup-414-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-414-1
11:39:46.754 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.757 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed0892be, /127.0.0.1:57085 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:46.758 [nioEventLoopGroup-404-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:46.758 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed0892be, /127.0.0.1:57085 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.758 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed0892be, /127.0.0.1:57085 => /127.0.0.1:57071] FLUSH
11:39:46.759 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed0892be, /127.0.0.1:57085 => /127.0.0.1:57071] FLUSH
11:39:46.759 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed0892be, /127.0.0.1:57085 :> /127.0.0.1:57071] INACTIVE
11:39:46.759 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed0892be, /127.0.0.1:57085 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.759 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.759 [nioEventLoopGroup-415-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-415-1
11:39:46.760 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.763 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30f5b352, /127.0.0.1:57086 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:46.764 [nioEventLoopGroup-404-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:46.765 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30f5b352, /127.0.0.1:57086 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.765 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30f5b352, /127.0.0.1:57086 => /127.0.0.1:57071] FLUSH
11:39:46.765 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30f5b352, /127.0.0.1:57086 => /127.0.0.1:57071] FLUSH
11:39:46.765 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30f5b352, /127.0.0.1:57086 :> /127.0.0.1:57071] INACTIVE
11:39:46.765 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x30f5b352, /127.0.0.1:57086 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.765 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.766 [nioEventLoopGroup-416-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-416-1
11:39:46.767 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:46.770 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0014373, /127.0.0.1:57088 => /127.0.0.1:57071] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:46.771 [nioEventLoopGroup-404-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:46.771 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0014373, /127.0.0.1:57088 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.771 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0014373, /127.0.0.1:57088 => /127.0.0.1:57071] FLUSH
11:39:46.772 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0014373, /127.0.0.1:57088 => /127.0.0.1:57071] FLUSH
11:39:46.772 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0014373, /127.0.0.1:57088 :> /127.0.0.1:57071] INACTIVE
11:39:46.772 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.772 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0014373, /127.0.0.1:57088 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.772 [nioEventLoopGroup-417-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-417-1
11:39:46.775 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 => /127.0.0.1:57071] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57071
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:46.776 [nioEventLoopGroup-404-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57071" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


11:39:46.776 [nioEventLoopGroup-404-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57071" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:46.777 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 => /127.0.0.1:57071] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:46.777 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 => /127.0.0.1:57071] FLUSH
11:39:46.782 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 => /127.0.0.1:57071] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57071
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:46.782 [nioEventLoopGroup-404-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57071" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


11:39:46.783 [nioEventLoopGroup-404-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57071" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:46.783 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 => /127.0.0.1:57071] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:46.784 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 => /127.0.0.1:57071] FLUSH
11:39:46.785 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:46.788 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1a543bd, /127.0.0.1:57090 => /127.0.0.1:57071] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57071
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:46.788 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1a543bd, /127.0.0.1:57090 => /127.0.0.1:57071] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:46.788 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1a543bd, /127.0.0.1:57090 => /127.0.0.1:57071] FLUSH
11:39:46.788 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1a543bd, /127.0.0.1:57090 => /127.0.0.1:57071] CLOSE()
11:39:46.790 [nioEventLoopGroup-404-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-1
11:39:46.790 [nioEventLoopGroup-404-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-2
11:39:46.790 [nioEventLoopGroup-404-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-3
11:39:46.790 [nioEventLoopGroup-404-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-4
11:39:46.790 [nioEventLoopGroup-404-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-5
11:39:46.790 [nioEventLoopGroup-404-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-8
11:39:46.790 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 :> /127.0.0.1:57071] INACTIVE
11:39:46.790 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc672fc13, /127.0.0.1:57089 :> /127.0.0.1:57071] UNREGISTERED
11:39:46.789 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:46.791 [nioEventLoopGroup-418-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-418-1
11:39:46.828 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9f705fe, /127.0.0.1:57070 :> /127.0.0.1:57053] FLUSH
11:39:46.828 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9f705fe, /127.0.0.1:57070 :> /127.0.0.1:57053] INACTIVE
11:39:46.828 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9f705fe, /127.0.0.1:57070 :> /127.0.0.1:57053] UNREGISTERED
11:39:46.829 [nioEventLoopGroup-388-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-8
11:39:46.844 [nioEventLoopGroup-372-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-6
11:39:47.147 [MockServer thread for port: 57091] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57091
11:39:47.148 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.151 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ad97934, /127.0.0.1:57095 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:47.152 [nioEventLoopGroup-420-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:47.152 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ad97934, /127.0.0.1:57095 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.152 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ad97934, /127.0.0.1:57095 => /127.0.0.1:57091] FLUSH
11:39:47.152 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ad97934, /127.0.0.1:57095 => /127.0.0.1:57091] FLUSH
11:39:47.152 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.153 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ad97934, /127.0.0.1:57095 :> /127.0.0.1:57091] INACTIVE
11:39:47.153 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5ad97934, /127.0.0.1:57095 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.153 [nioEventLoopGroup-421-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-421-1
11:39:47.154 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.157 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbe59a2e, /127.0.0.1:57096 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:47.159 [nioEventLoopGroup-420-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:47.159 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbe59a2e, /127.0.0.1:57096 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.159 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbe59a2e, /127.0.0.1:57096 => /127.0.0.1:57091] FLUSH
11:39:47.160 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbe59a2e, /127.0.0.1:57096 => /127.0.0.1:57091] FLUSH
11:39:47.160 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.160 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbe59a2e, /127.0.0.1:57096 :> /127.0.0.1:57091] INACTIVE
11:39:47.160 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbe59a2e, /127.0.0.1:57096 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.160 [nioEventLoopGroup-422-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-422-1
11:39:47.162 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.166 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x686bfcca, /127.0.0.1:57097 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:47.167 [nioEventLoopGroup-420-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:47.167 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x686bfcca, /127.0.0.1:57097 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.167 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x686bfcca, /127.0.0.1:57097 => /127.0.0.1:57091] FLUSH
11:39:47.168 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x686bfcca, /127.0.0.1:57097 => /127.0.0.1:57091] FLUSH
11:39:47.168 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.168 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x686bfcca, /127.0.0.1:57097 :> /127.0.0.1:57091] INACTIVE
11:39:47.168 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x686bfcca, /127.0.0.1:57097 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.168 [nioEventLoopGroup-423-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-423-1
11:39:47.169 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.172 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfb006b84, /127.0.0.1:57098 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.174 [nioEventLoopGroup-420-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:47.174 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfb006b84, /127.0.0.1:57098 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.174 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfb006b84, /127.0.0.1:57098 => /127.0.0.1:57091] FLUSH
11:39:47.174 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfb006b84, /127.0.0.1:57098 => /127.0.0.1:57091] FLUSH
11:39:47.174 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.175 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfb006b84, /127.0.0.1:57098 :> /127.0.0.1:57091] INACTIVE
11:39:47.175 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfb006b84, /127.0.0.1:57098 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.175 [nioEventLoopGroup-424-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-424-1
11:39:47.176 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.179 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bf633ad, /127.0.0.1:57099 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:47.180 [nioEventLoopGroup-420-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:47.181 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bf633ad, /127.0.0.1:57099 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.181 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bf633ad, /127.0.0.1:57099 => /127.0.0.1:57091] FLUSH
11:39:47.181 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bf633ad, /127.0.0.1:57099 => /127.0.0.1:57091] FLUSH
11:39:47.181 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.182 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bf633ad, /127.0.0.1:57099 :> /127.0.0.1:57091] INACTIVE
11:39:47.182 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bf633ad, /127.0.0.1:57099 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.182 [nioEventLoopGroup-425-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-425-1
11:39:47.183 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.187 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09b7249e, /127.0.0.1:57100 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:47.188 [nioEventLoopGroup-420-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:47.188 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09b7249e, /127.0.0.1:57100 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.188 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09b7249e, /127.0.0.1:57100 => /127.0.0.1:57091] FLUSH
11:39:47.189 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09b7249e, /127.0.0.1:57100 => /127.0.0.1:57091] FLUSH
11:39:47.189 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.189 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09b7249e, /127.0.0.1:57100 :> /127.0.0.1:57091] INACTIVE
11:39:47.189 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09b7249e, /127.0.0.1:57100 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.189 [nioEventLoopGroup-426-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-426-1
11:39:47.190 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.193 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25e635bd, /127.0.0.1:57101 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:47.194 [nioEventLoopGroup-420-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:47.195 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25e635bd, /127.0.0.1:57101 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.195 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25e635bd, /127.0.0.1:57101 => /127.0.0.1:57091] FLUSH
11:39:47.195 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25e635bd, /127.0.0.1:57101 => /127.0.0.1:57091] FLUSH
11:39:47.195 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.195 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25e635bd, /127.0.0.1:57101 :> /127.0.0.1:57091] INACTIVE
11:39:47.195 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25e635bd, /127.0.0.1:57101 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.196 [nioEventLoopGroup-427-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-427-1
11:39:47.197 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.200 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0edc235, /127.0.0.1:57102 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.201 [nioEventLoopGroup-420-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:47.201 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0edc235, /127.0.0.1:57102 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.201 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0edc235, /127.0.0.1:57102 => /127.0.0.1:57091] FLUSH
11:39:47.201 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0edc235, /127.0.0.1:57102 => /127.0.0.1:57091] FLUSH
11:39:47.201 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0edc235, /127.0.0.1:57102 :> /127.0.0.1:57091] INACTIVE
11:39:47.201 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.201 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0edc235, /127.0.0.1:57102 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.202 [nioEventLoopGroup-428-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-428-1
11:39:47.202 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.205 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ce7679d, /127.0.0.1:57103 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.206 [nioEventLoopGroup-420-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:47.206 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ce7679d, /127.0.0.1:57103 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.206 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ce7679d, /127.0.0.1:57103 => /127.0.0.1:57091] FLUSH
11:39:47.207 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ce7679d, /127.0.0.1:57103 => /127.0.0.1:57091] FLUSH
11:39:47.207 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.207 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ce7679d, /127.0.0.1:57103 :> /127.0.0.1:57091] INACTIVE
11:39:47.207 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9ce7679d, /127.0.0.1:57103 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.207 [nioEventLoopGroup-429-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-429-1
11:39:47.208 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.211 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d047cd3, /127.0.0.1:57104 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.212 [nioEventLoopGroup-420-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:47.212 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d047cd3, /127.0.0.1:57104 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.212 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d047cd3, /127.0.0.1:57104 => /127.0.0.1:57091] FLUSH
11:39:47.213 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d047cd3, /127.0.0.1:57104 => /127.0.0.1:57091] FLUSH
11:39:47.213 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.213 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d047cd3, /127.0.0.1:57104 :> /127.0.0.1:57091] INACTIVE
11:39:47.213 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1d047cd3, /127.0.0.1:57104 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.213 [nioEventLoopGroup-430-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-430-1
11:39:47.214 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.217 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b07d8dd, /127.0.0.1:57105 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.218 [nioEventLoopGroup-420-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:47.218 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b07d8dd, /127.0.0.1:57105 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.218 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b07d8dd, /127.0.0.1:57105 => /127.0.0.1:57091] FLUSH
11:39:47.218 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b07d8dd, /127.0.0.1:57105 => /127.0.0.1:57091] FLUSH
11:39:47.218 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.219 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b07d8dd, /127.0.0.1:57105 :> /127.0.0.1:57091] INACTIVE
11:39:47.219 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9b07d8dd, /127.0.0.1:57105 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.219 [nioEventLoopGroup-431-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-431-1
11:39:47.221 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.224 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6558cd94, /127.0.0.1:57106 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:47.225 [nioEventLoopGroup-420-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:47.225 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6558cd94, /127.0.0.1:57106 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.225 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6558cd94, /127.0.0.1:57106 => /127.0.0.1:57091] FLUSH
11:39:47.225 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6558cd94, /127.0.0.1:57106 => /127.0.0.1:57091] FLUSH
11:39:47.225 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.225 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6558cd94, /127.0.0.1:57106 :> /127.0.0.1:57091] INACTIVE
11:39:47.226 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6558cd94, /127.0.0.1:57106 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.226 [nioEventLoopGroup-432-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-432-1
11:39:47.227 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.229 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe552e05a, /127.0.0.1:57107 => /127.0.0.1:57091] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:47.231 [nioEventLoopGroup-420-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:47.231 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe552e05a, /127.0.0.1:57107 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.231 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe552e05a, /127.0.0.1:57107 => /127.0.0.1:57091] FLUSH
11:39:47.231 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe552e05a, /127.0.0.1:57107 => /127.0.0.1:57091] FLUSH
11:39:47.231 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.231 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe552e05a, /127.0.0.1:57107 :> /127.0.0.1:57091] INACTIVE
11:39:47.232 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe552e05a, /127.0.0.1:57107 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.232 [nioEventLoopGroup-433-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-433-1
11:39:47.239 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a4b7b30, /127.0.0.1:57108 => /127.0.0.1:57091] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:57091
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:47.240 [nioEventLoopGroup-420-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.241 [nioEventLoopGroup-420-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.241 [nioEventLoopGroup-420-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:47.241 [nioEventLoopGroup-420-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


11:39:47.242 [nioEventLoopGroup-420-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:47.242 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a4b7b30, /127.0.0.1:57108 => /127.0.0.1:57091] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:47.242 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a4b7b30, /127.0.0.1:57108 => /127.0.0.1:57091] FLUSH
11:39:47.250 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a4e9ae4, /127.0.0.1:57109 => /127.0.0.1:57091] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:57091
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:47.251 [nioEventLoopGroup-420-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.251 [nioEventLoopGroup-420-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.252 [nioEventLoopGroup-420-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:47.252 [nioEventLoopGroup-420-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


11:39:47.252 [nioEventLoopGroup-420-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57091" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:47.253 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a4e9ae4, /127.0.0.1:57109 => /127.0.0.1:57091] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:47.253 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a4e9ae4, /127.0.0.1:57109 => /127.0.0.1:57091] FLUSH
11:39:47.254 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:47.257 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b2bf338, /127.0.0.1:57110 => /127.0.0.1:57091] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57091
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:47.257 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b2bf338, /127.0.0.1:57110 => /127.0.0.1:57091] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.258 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b2bf338, /127.0.0.1:57110 => /127.0.0.1:57091] FLUSH
11:39:47.258 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b2bf338, /127.0.0.1:57110 => /127.0.0.1:57091] CLOSE()
11:39:47.259 [nioEventLoopGroup-420-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-1
11:39:47.259 [nioEventLoopGroup-420-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-3
11:39:47.259 [nioEventLoopGroup-420-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-2
11:39:47.259 [nioEventLoopGroup-420-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-4
11:39:47.259 [nioEventLoopGroup-420-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-5
11:39:47.259 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a4b7b30, /127.0.0.1:57108 :> /127.0.0.1:57091] INACTIVE
11:39:47.259 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a4e9ae4, /127.0.0.1:57109 :> /127.0.0.1:57091] INACTIVE
11:39:47.259 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a4b7b30, /127.0.0.1:57108 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.259 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a4e9ae4, /127.0.0.1:57109 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.259 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.260 [nioEventLoopGroup-434-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-434-1
11:39:47.291 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1a543bd, /127.0.0.1:57090 :> /127.0.0.1:57071] FLUSH
11:39:47.291 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1a543bd, /127.0.0.1:57090 :> /127.0.0.1:57071] INACTIVE
11:39:47.291 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1a543bd, /127.0.0.1:57090 :> /127.0.0.1:57071] UNREGISTERED
11:39:47.291 [nioEventLoopGroup-404-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-7
11:39:47.330 [nioEventLoopGroup-388-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-7
11:39:47.330 [nioEventLoopGroup-388-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-6
11:39:47.615 [MockServer thread for port: 57111] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57111
11:39:47.615 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.619 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7f6885c, /127.0.0.1:57112 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:47.620 [nioEventLoopGroup-436-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:47.620 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7f6885c, /127.0.0.1:57112 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.620 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7f6885c, /127.0.0.1:57112 => /127.0.0.1:57111] FLUSH
11:39:47.621 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7f6885c, /127.0.0.1:57112 => /127.0.0.1:57111] FLUSH
11:39:47.621 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.621 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7f6885c, /127.0.0.1:57112 :> /127.0.0.1:57111] INACTIVE
11:39:47.621 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7f6885c, /127.0.0.1:57112 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.621 [nioEventLoopGroup-437-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-437-1
11:39:47.622 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.625 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbefc5b46, /127.0.0.1:57113 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:47.627 [nioEventLoopGroup-436-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:47.627 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbefc5b46, /127.0.0.1:57113 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.627 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbefc5b46, /127.0.0.1:57113 => /127.0.0.1:57111] FLUSH
11:39:47.628 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbefc5b46, /127.0.0.1:57113 => /127.0.0.1:57111] FLUSH
11:39:47.628 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.628 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbefc5b46, /127.0.0.1:57113 :> /127.0.0.1:57111] INACTIVE
11:39:47.628 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbefc5b46, /127.0.0.1:57113 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.628 [nioEventLoopGroup-438-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-438-1
11:39:47.629 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.632 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3f32355, /127.0.0.1:57114 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:47.633 [nioEventLoopGroup-436-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:47.634 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3f32355, /127.0.0.1:57114 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.634 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3f32355, /127.0.0.1:57114 => /127.0.0.1:57111] FLUSH
11:39:47.634 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3f32355, /127.0.0.1:57114 => /127.0.0.1:57111] FLUSH
11:39:47.634 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.634 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3f32355, /127.0.0.1:57114 :> /127.0.0.1:57111] INACTIVE
11:39:47.635 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3f32355, /127.0.0.1:57114 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.635 [nioEventLoopGroup-439-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-439-1
11:39:47.636 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.639 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a4dd26a, /127.0.0.1:57115 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.640 [nioEventLoopGroup-436-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:47.640 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a4dd26a, /127.0.0.1:57115 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.640 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a4dd26a, /127.0.0.1:57115 => /127.0.0.1:57111] FLUSH
11:39:47.640 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a4dd26a, /127.0.0.1:57115 => /127.0.0.1:57111] FLUSH
11:39:47.641 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a4dd26a, /127.0.0.1:57115 :> /127.0.0.1:57111] INACTIVE
11:39:47.640 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.641 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a4dd26a, /127.0.0.1:57115 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.641 [nioEventLoopGroup-440-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-440-1
11:39:47.642 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.645 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f9c6497, /127.0.0.1:57116 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:47.646 [nioEventLoopGroup-436-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:47.646 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f9c6497, /127.0.0.1:57116 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.646 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f9c6497, /127.0.0.1:57116 => /127.0.0.1:57111] FLUSH
11:39:47.647 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f9c6497, /127.0.0.1:57116 => /127.0.0.1:57111] FLUSH
11:39:47.647 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.647 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f9c6497, /127.0.0.1:57116 :> /127.0.0.1:57111] INACTIVE
11:39:47.647 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f9c6497, /127.0.0.1:57116 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.647 [nioEventLoopGroup-441-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-441-1
11:39:47.648 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.652 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25d76b99, /127.0.0.1:57117 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:47.653 [nioEventLoopGroup-436-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:47.653 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25d76b99, /127.0.0.1:57117 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.653 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25d76b99, /127.0.0.1:57117 => /127.0.0.1:57111] FLUSH
11:39:47.653 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25d76b99, /127.0.0.1:57117 => /127.0.0.1:57111] FLUSH
11:39:47.653 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.654 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25d76b99, /127.0.0.1:57117 :> /127.0.0.1:57111] INACTIVE
11:39:47.654 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25d76b99, /127.0.0.1:57117 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.654 [nioEventLoopGroup-442-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-442-1
11:39:47.655 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.658 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x192aef23, /127.0.0.1:57118 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:47.659 [nioEventLoopGroup-436-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:47.659 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x192aef23, /127.0.0.1:57118 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.659 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x192aef23, /127.0.0.1:57118 => /127.0.0.1:57111] FLUSH
11:39:47.659 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x192aef23, /127.0.0.1:57118 => /127.0.0.1:57111] FLUSH
11:39:47.659 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.660 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x192aef23, /127.0.0.1:57118 :> /127.0.0.1:57111] INACTIVE
11:39:47.660 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x192aef23, /127.0.0.1:57118 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.660 [nioEventLoopGroup-443-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-443-1
11:39:47.661 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.664 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabab9436, /127.0.0.1:57119 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.664 [nioEventLoopGroup-436-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:47.665 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabab9436, /127.0.0.1:57119 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.665 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabab9436, /127.0.0.1:57119 => /127.0.0.1:57111] FLUSH
11:39:47.665 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabab9436, /127.0.0.1:57119 => /127.0.0.1:57111] FLUSH
11:39:47.665 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.665 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabab9436, /127.0.0.1:57119 :> /127.0.0.1:57111] INACTIVE
11:39:47.665 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabab9436, /127.0.0.1:57119 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.666 [nioEventLoopGroup-444-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-444-1
11:39:47.666 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.669 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2948edd4, /127.0.0.1:57120 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.670 [nioEventLoopGroup-436-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:47.670 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2948edd4, /127.0.0.1:57120 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.671 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2948edd4, /127.0.0.1:57120 => /127.0.0.1:57111] FLUSH
11:39:47.671 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2948edd4, /127.0.0.1:57120 => /127.0.0.1:57111] FLUSH
11:39:47.671 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.671 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2948edd4, /127.0.0.1:57120 :> /127.0.0.1:57111] INACTIVE
11:39:47.671 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2948edd4, /127.0.0.1:57120 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.671 [nioEventLoopGroup-445-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-445-1
11:39:47.672 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.675 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bd3e3d4, /127.0.0.1:57121 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.676 [nioEventLoopGroup-436-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:47.676 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bd3e3d4, /127.0.0.1:57121 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.676 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bd3e3d4, /127.0.0.1:57121 => /127.0.0.1:57111] FLUSH
11:39:47.677 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bd3e3d4, /127.0.0.1:57121 => /127.0.0.1:57111] FLUSH
11:39:47.677 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.677 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bd3e3d4, /127.0.0.1:57121 :> /127.0.0.1:57111] INACTIVE
11:39:47.677 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8bd3e3d4, /127.0.0.1:57121 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.677 [nioEventLoopGroup-446-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-446-1
11:39:47.678 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.681 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a7ed0a0, /127.0.0.1:57122 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:47.681 [nioEventLoopGroup-436-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:47.681 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a7ed0a0, /127.0.0.1:57122 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.682 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a7ed0a0, /127.0.0.1:57122 => /127.0.0.1:57111] FLUSH
11:39:47.682 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a7ed0a0, /127.0.0.1:57122 => /127.0.0.1:57111] FLUSH
11:39:47.682 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.682 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a7ed0a0, /127.0.0.1:57122 :> /127.0.0.1:57111] INACTIVE
11:39:47.682 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a7ed0a0, /127.0.0.1:57122 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.682 [nioEventLoopGroup-447-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-447-1
11:39:47.683 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.686 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40cf651d, /127.0.0.1:57123 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:47.687 [nioEventLoopGroup-436-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:47.687 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40cf651d, /127.0.0.1:57123 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.687 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40cf651d, /127.0.0.1:57123 => /127.0.0.1:57111] FLUSH
11:39:47.688 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40cf651d, /127.0.0.1:57123 => /127.0.0.1:57111] FLUSH
11:39:47.688 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.688 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40cf651d, /127.0.0.1:57123 :> /127.0.0.1:57111] INACTIVE
11:39:47.688 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40cf651d, /127.0.0.1:57123 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.688 [nioEventLoopGroup-448-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-448-1
11:39:47.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:47.691 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15581a1c, /127.0.0.1:57124 => /127.0.0.1:57111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:47.692 [nioEventLoopGroup-436-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:47.693 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15581a1c, /127.0.0.1:57124 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.693 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15581a1c, /127.0.0.1:57124 => /127.0.0.1:57111] FLUSH
11:39:47.693 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15581a1c, /127.0.0.1:57124 => /127.0.0.1:57111] FLUSH
11:39:47.693 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.693 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15581a1c, /127.0.0.1:57124 :> /127.0.0.1:57111] INACTIVE
11:39:47.693 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15581a1c, /127.0.0.1:57124 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.693 [nioEventLoopGroup-449-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-449-1
11:39:47.696 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 => /127.0.0.1:57111] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57111
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:47.697 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.697 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.697 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:47.697 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


11:39:47.698 [nioEventLoopGroup-436-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:47.698 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 => /127.0.0.1:57111] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:47.698 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 => /127.0.0.1:57111] FLUSH
11:39:47.700 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 => /127.0.0.1:57111] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57111
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:47.701 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.701 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:47.702 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:47.702 [nioEventLoopGroup-436-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


11:39:47.703 [nioEventLoopGroup-436-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57111" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:47.703 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 => /127.0.0.1:57111] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:47.703 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 => /127.0.0.1:57111] FLUSH
11:39:47.705 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:47.708 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c90145, /127.0.0.1:57126 => /127.0.0.1:57111] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57111
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:47.708 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c90145, /127.0.0.1:57126 => /127.0.0.1:57111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:47.708 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c90145, /127.0.0.1:57126 => /127.0.0.1:57111] FLUSH
11:39:47.708 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c90145, /127.0.0.1:57126 => /127.0.0.1:57111] CLOSE()
11:39:47.710 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:47.710 [nioEventLoopGroup-436-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-1
11:39:47.710 [nioEventLoopGroup-436-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-2
11:39:47.710 [nioEventLoopGroup-436-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-3
11:39:47.710 [nioEventLoopGroup-436-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-5
11:39:47.710 [nioEventLoopGroup-436-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-4
11:39:47.710 [nioEventLoopGroup-436-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-8
11:39:47.710 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 :> /127.0.0.1:57111] INACTIVE
11:39:47.710 [nioEventLoopGroup-450-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-450-1
11:39:47.711 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c3208f6, /127.0.0.1:57125 :> /127.0.0.1:57111] UNREGISTERED
11:39:47.762 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b2bf338, /127.0.0.1:57110 :> /127.0.0.1:57091] FLUSH
11:39:47.762 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b2bf338, /127.0.0.1:57110 :> /127.0.0.1:57091] INACTIVE
11:39:47.762 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b2bf338, /127.0.0.1:57110 :> /127.0.0.1:57091] UNREGISTERED
11:39:47.762 [nioEventLoopGroup-420-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-8
11:39:47.792 [nioEventLoopGroup-404-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-6
11:39:48.068 [MockServer thread for port: 57127] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57127
11:39:48.068 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.071 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82c90200, /127.0.0.1:57128 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:48.072 [nioEventLoopGroup-452-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:48.072 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82c90200, /127.0.0.1:57128 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.072 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82c90200, /127.0.0.1:57128 => /127.0.0.1:57127] FLUSH
11:39:48.073 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82c90200, /127.0.0.1:57128 => /127.0.0.1:57127] FLUSH
11:39:48.073 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.073 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82c90200, /127.0.0.1:57128 :> /127.0.0.1:57127] INACTIVE
11:39:48.073 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82c90200, /127.0.0.1:57128 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.073 [nioEventLoopGroup-453-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-453-1
11:39:48.074 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.077 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26941686, /127.0.0.1:57129 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:48.078 [nioEventLoopGroup-452-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:48.079 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26941686, /127.0.0.1:57129 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.079 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26941686, /127.0.0.1:57129 => /127.0.0.1:57127] FLUSH
11:39:48.079 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26941686, /127.0.0.1:57129 => /127.0.0.1:57127] FLUSH
11:39:48.079 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.079 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26941686, /127.0.0.1:57129 :> /127.0.0.1:57127] INACTIVE
11:39:48.079 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26941686, /127.0.0.1:57129 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.079 [nioEventLoopGroup-454-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-454-1
11:39:48.080 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.083 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd4751801, /127.0.0.1:57130 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:48.084 [nioEventLoopGroup-452-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:48.085 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd4751801, /127.0.0.1:57130 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.085 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd4751801, /127.0.0.1:57130 => /127.0.0.1:57127] FLUSH
11:39:48.085 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.085 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd4751801, /127.0.0.1:57130 => /127.0.0.1:57127] FLUSH
11:39:48.085 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd4751801, /127.0.0.1:57130 :> /127.0.0.1:57127] INACTIVE
11:39:48.085 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd4751801, /127.0.0.1:57130 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.085 [nioEventLoopGroup-455-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-455-1
11:39:48.088 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.091 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd7bc95f, /127.0.0.1:57131 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.092 [nioEventLoopGroup-452-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:48.092 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd7bc95f, /127.0.0.1:57131 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.092 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd7bc95f, /127.0.0.1:57131 => /127.0.0.1:57127] FLUSH
11:39:48.093 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd7bc95f, /127.0.0.1:57131 => /127.0.0.1:57127] FLUSH
11:39:48.093 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd7bc95f, /127.0.0.1:57131 :> /127.0.0.1:57127] INACTIVE
11:39:48.093 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd7bc95f, /127.0.0.1:57131 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.093 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.093 [nioEventLoopGroup-456-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-456-1
11:39:48.094 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.097 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7c46c3d, /127.0.0.1:57132 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:48.098 [nioEventLoopGroup-452-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:48.099 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7c46c3d, /127.0.0.1:57132 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.099 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7c46c3d, /127.0.0.1:57132 => /127.0.0.1:57127] FLUSH
11:39:48.099 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7c46c3d, /127.0.0.1:57132 => /127.0.0.1:57127] FLUSH
11:39:48.099 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.099 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7c46c3d, /127.0.0.1:57132 :> /127.0.0.1:57127] INACTIVE
11:39:48.099 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7c46c3d, /127.0.0.1:57132 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.099 [nioEventLoopGroup-457-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-457-1
11:39:48.100 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.103 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x431776bd, /127.0.0.1:57133 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:48.105 [nioEventLoopGroup-452-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:48.105 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x431776bd, /127.0.0.1:57133 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.105 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x431776bd, /127.0.0.1:57133 => /127.0.0.1:57127] FLUSH
11:39:48.106 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x431776bd, /127.0.0.1:57133 => /127.0.0.1:57127] FLUSH
11:39:48.106 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.106 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x431776bd, /127.0.0.1:57133 :> /127.0.0.1:57127] INACTIVE
11:39:48.106 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x431776bd, /127.0.0.1:57133 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.106 [nioEventLoopGroup-458-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-458-1
11:39:48.107 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.109 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8e19534, /127.0.0.1:57134 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:48.110 [nioEventLoopGroup-452-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:48.111 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8e19534, /127.0.0.1:57134 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.111 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8e19534, /127.0.0.1:57134 => /127.0.0.1:57127] FLUSH
11:39:48.111 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8e19534, /127.0.0.1:57134 => /127.0.0.1:57127] FLUSH
11:39:48.111 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.111 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8e19534, /127.0.0.1:57134 :> /127.0.0.1:57127] INACTIVE
11:39:48.111 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd8e19534, /127.0.0.1:57134 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.111 [nioEventLoopGroup-459-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-459-1
11:39:48.112 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.115 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbb941df, /127.0.0.1:57135 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.116 [nioEventLoopGroup-452-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:48.116 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbb941df, /127.0.0.1:57135 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.117 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbb941df, /127.0.0.1:57135 => /127.0.0.1:57127] FLUSH
11:39:48.117 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbb941df, /127.0.0.1:57135 => /127.0.0.1:57127] FLUSH
11:39:48.117 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.117 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbb941df, /127.0.0.1:57135 :> /127.0.0.1:57127] INACTIVE
11:39:48.117 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbb941df, /127.0.0.1:57135 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.117 [nioEventLoopGroup-460-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-460-1
11:39:48.118 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.121 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf432ecfb, /127.0.0.1:57136 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.122 [nioEventLoopGroup-452-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:48.122 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf432ecfb, /127.0.0.1:57136 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.122 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf432ecfb, /127.0.0.1:57136 => /127.0.0.1:57127] FLUSH
11:39:48.123 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf432ecfb, /127.0.0.1:57136 => /127.0.0.1:57127] FLUSH
11:39:48.123 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.123 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf432ecfb, /127.0.0.1:57136 :> /127.0.0.1:57127] INACTIVE
11:39:48.123 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf432ecfb, /127.0.0.1:57136 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.123 [nioEventLoopGroup-461-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-461-1
11:39:48.124 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.127 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcff279f4, /127.0.0.1:57137 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.128 [nioEventLoopGroup-452-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:48.128 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcff279f4, /127.0.0.1:57137 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.128 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcff279f4, /127.0.0.1:57137 => /127.0.0.1:57127] FLUSH
11:39:48.129 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcff279f4, /127.0.0.1:57137 => /127.0.0.1:57127] FLUSH
11:39:48.129 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.129 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcff279f4, /127.0.0.1:57137 :> /127.0.0.1:57127] INACTIVE
11:39:48.129 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcff279f4, /127.0.0.1:57137 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.129 [nioEventLoopGroup-462-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-462-1
11:39:48.130 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.133 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b974a85, /127.0.0.1:57138 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.134 [nioEventLoopGroup-452-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:48.134 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b974a85, /127.0.0.1:57138 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.134 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b974a85, /127.0.0.1:57138 => /127.0.0.1:57127] FLUSH
11:39:48.134 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b974a85, /127.0.0.1:57138 => /127.0.0.1:57127] FLUSH
11:39:48.134 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.135 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b974a85, /127.0.0.1:57138 :> /127.0.0.1:57127] INACTIVE
11:39:48.135 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b974a85, /127.0.0.1:57138 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.135 [nioEventLoopGroup-463-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-463-1
11:39:48.136 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.139 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b383f01, /127.0.0.1:57139 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:48.140 [nioEventLoopGroup-452-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:48.140 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b383f01, /127.0.0.1:57139 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.140 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b383f01, /127.0.0.1:57139 => /127.0.0.1:57127] FLUSH
11:39:48.141 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b383f01, /127.0.0.1:57139 => /127.0.0.1:57127] FLUSH
11:39:48.141 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.141 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b383f01, /127.0.0.1:57139 :> /127.0.0.1:57127] INACTIVE
11:39:48.141 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b383f01, /127.0.0.1:57139 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.141 [nioEventLoopGroup-464-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-464-1
11:39:48.142 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.145 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bde8b23, /127.0.0.1:57140 => /127.0.0.1:57127] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:48.147 [nioEventLoopGroup-452-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:48.147 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bde8b23, /127.0.0.1:57140 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.147 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bde8b23, /127.0.0.1:57140 => /127.0.0.1:57127] FLUSH
11:39:48.147 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bde8b23, /127.0.0.1:57140 => /127.0.0.1:57127] FLUSH
11:39:48.147 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.148 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bde8b23, /127.0.0.1:57140 :> /127.0.0.1:57127] INACTIVE
11:39:48.148 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bde8b23, /127.0.0.1:57140 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.148 [nioEventLoopGroup-465-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-465-1
11:39:48.158 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1331108, /127.0.0.1:57141 => /127.0.0.1:57127] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Host: localhost:57127
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:48.159 [nioEventLoopGroup-452-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.159 [nioEventLoopGroup-452-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.160 [nioEventLoopGroup-452-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:48.160 [nioEventLoopGroup-452-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.160 [nioEventLoopGroup-452-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


11:39:48.161 [nioEventLoopGroup-452-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:48.161 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1331108, /127.0.0.1:57141 => /127.0.0.1:57127] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
11:39:48.161 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1331108, /127.0.0.1:57141 => /127.0.0.1:57127] FLUSH
11:39:48.215 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c90145, /127.0.0.1:57126 :> /127.0.0.1:57111] FLUSH
11:39:48.215 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c90145, /127.0.0.1:57126 :> /127.0.0.1:57111] INACTIVE
11:39:48.215 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c90145, /127.0.0.1:57126 :> /127.0.0.1:57111] UNREGISTERED
11:39:48.215 [nioEventLoopGroup-436-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-7
11:39:48.260 [nioEventLoopGroup-420-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-6
11:39:48.260 [nioEventLoopGroup-420-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-7
11:39:48.304 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2382b04d, /127.0.0.1:57142 => /127.0.0.1:57127] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Host: localhost:57127
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:48.305 [nioEventLoopGroup-452-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.305 [nioEventLoopGroup-452-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.306 [nioEventLoopGroup-452-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:48.306 [nioEventLoopGroup-452-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.307 [nioEventLoopGroup-452-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


11:39:48.307 [nioEventLoopGroup-452-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57127" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:48.307 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2382b04d, /127.0.0.1:57142 => /127.0.0.1:57127] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
11:39:48.308 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2382b04d, /127.0.0.1:57142 => /127.0.0.1:57127] FLUSH
11:39:48.311 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:48.314 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3455ad66, /127.0.0.1:57143 => /127.0.0.1:57127] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57127
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:48.315 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3455ad66, /127.0.0.1:57143 => /127.0.0.1:57127] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.315 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3455ad66, /127.0.0.1:57143 => /127.0.0.1:57127] FLUSH
11:39:48.315 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3455ad66, /127.0.0.1:57143 => /127.0.0.1:57127] CLOSE()
11:39:48.316 [nioEventLoopGroup-452-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-1
11:39:48.316 [nioEventLoopGroup-452-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-2
11:39:48.316 [nioEventLoopGroup-452-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-3
11:39:48.316 [nioEventLoopGroup-452-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-4
11:39:48.316 [nioEventLoopGroup-452-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-5
11:39:48.316 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2382b04d, /127.0.0.1:57142 :> /127.0.0.1:57127] INACTIVE
11:39:48.316 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1331108, /127.0.0.1:57141 :> /127.0.0.1:57127] INACTIVE
11:39:48.316 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2382b04d, /127.0.0.1:57142 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.316 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1331108, /127.0.0.1:57141 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.316 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.317 [nioEventLoopGroup-466-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-466-1
11:39:48.674 [MockServer thread for port: 57144] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57144
11:39:48.674 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.678 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8a4cf73, /127.0.0.1:57146 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:48.679 [nioEventLoopGroup-468-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:48.679 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8a4cf73, /127.0.0.1:57146 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.679 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8a4cf73, /127.0.0.1:57146 => /127.0.0.1:57144] FLUSH
11:39:48.680 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8a4cf73, /127.0.0.1:57146 => /127.0.0.1:57144] FLUSH
11:39:48.680 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8a4cf73, /127.0.0.1:57146 :> /127.0.0.1:57144] INACTIVE
11:39:48.680 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8a4cf73, /127.0.0.1:57146 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.680 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.680 [nioEventLoopGroup-469-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-469-1
11:39:48.681 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.684 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4656040c, /127.0.0.1:57147 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:48.686 [nioEventLoopGroup-468-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:48.686 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4656040c, /127.0.0.1:57147 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.686 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4656040c, /127.0.0.1:57147 => /127.0.0.1:57144] FLUSH
11:39:48.687 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4656040c, /127.0.0.1:57147 => /127.0.0.1:57144] FLUSH
11:39:48.687 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.687 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4656040c, /127.0.0.1:57147 :> /127.0.0.1:57144] INACTIVE
11:39:48.687 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4656040c, /127.0.0.1:57147 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.687 [nioEventLoopGroup-470-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-470-1
11:39:48.688 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.692 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab07226f, /127.0.0.1:57148 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:48.693 [nioEventLoopGroup-468-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:48.693 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab07226f, /127.0.0.1:57148 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.693 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab07226f, /127.0.0.1:57148 => /127.0.0.1:57144] FLUSH
11:39:48.694 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab07226f, /127.0.0.1:57148 => /127.0.0.1:57144] FLUSH
11:39:48.694 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.694 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab07226f, /127.0.0.1:57148 :> /127.0.0.1:57144] INACTIVE
11:39:48.694 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab07226f, /127.0.0.1:57148 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.694 [nioEventLoopGroup-471-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-471-1
11:39:48.695 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.699 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6d35b05, /127.0.0.1:57149 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.700 [nioEventLoopGroup-468-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:48.700 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6d35b05, /127.0.0.1:57149 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.700 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6d35b05, /127.0.0.1:57149 => /127.0.0.1:57144] FLUSH
11:39:48.701 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6d35b05, /127.0.0.1:57149 => /127.0.0.1:57144] FLUSH
11:39:48.701 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.701 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6d35b05, /127.0.0.1:57149 :> /127.0.0.1:57144] INACTIVE
11:39:48.701 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6d35b05, /127.0.0.1:57149 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.701 [nioEventLoopGroup-472-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-472-1
11:39:48.722 [nioEventLoopGroup-436-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-6
11:39:48.723 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.727 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c1436e, /127.0.0.1:57150 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:48.728 [nioEventLoopGroup-468-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:48.728 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c1436e, /127.0.0.1:57150 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.728 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c1436e, /127.0.0.1:57150 => /127.0.0.1:57144] FLUSH
11:39:48.728 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c1436e, /127.0.0.1:57150 => /127.0.0.1:57144] FLUSH
11:39:48.728 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.728 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c1436e, /127.0.0.1:57150 :> /127.0.0.1:57144] INACTIVE
11:39:48.728 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64c1436e, /127.0.0.1:57150 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.729 [nioEventLoopGroup-473-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-473-1
11:39:48.730 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.733 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f77c2b8, /127.0.0.1:57151 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:48.734 [nioEventLoopGroup-468-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:48.734 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f77c2b8, /127.0.0.1:57151 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.734 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f77c2b8, /127.0.0.1:57151 => /127.0.0.1:57144] FLUSH
11:39:48.735 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f77c2b8, /127.0.0.1:57151 => /127.0.0.1:57144] FLUSH
11:39:48.735 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.735 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f77c2b8, /127.0.0.1:57151 :> /127.0.0.1:57144] INACTIVE
11:39:48.735 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f77c2b8, /127.0.0.1:57151 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.735 [nioEventLoopGroup-474-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-474-1
11:39:48.736 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.739 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5078bd80, /127.0.0.1:57152 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:48.740 [nioEventLoopGroup-468-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:48.740 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5078bd80, /127.0.0.1:57152 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.740 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5078bd80, /127.0.0.1:57152 => /127.0.0.1:57144] FLUSH
11:39:48.740 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5078bd80, /127.0.0.1:57152 => /127.0.0.1:57144] FLUSH
11:39:48.741 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5078bd80, /127.0.0.1:57152 :> /127.0.0.1:57144] INACTIVE
11:39:48.741 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5078bd80, /127.0.0.1:57152 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.741 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.741 [nioEventLoopGroup-475-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-475-1
11:39:48.742 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.745 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac9762eb, /127.0.0.1:57153 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.746 [nioEventLoopGroup-468-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:48.746 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac9762eb, /127.0.0.1:57153 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.746 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac9762eb, /127.0.0.1:57153 => /127.0.0.1:57144] FLUSH
11:39:48.747 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac9762eb, /127.0.0.1:57153 => /127.0.0.1:57144] FLUSH
11:39:48.746 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.747 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac9762eb, /127.0.0.1:57153 :> /127.0.0.1:57144] INACTIVE
11:39:48.747 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac9762eb, /127.0.0.1:57153 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.747 [nioEventLoopGroup-476-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-476-1
11:39:48.749 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.752 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe00b1c5d, /127.0.0.1:57154 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.753 [nioEventLoopGroup-468-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:48.753 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe00b1c5d, /127.0.0.1:57154 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.753 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe00b1c5d, /127.0.0.1:57154 => /127.0.0.1:57144] FLUSH
11:39:48.754 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe00b1c5d, /127.0.0.1:57154 => /127.0.0.1:57144] FLUSH
11:39:48.754 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.754 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe00b1c5d, /127.0.0.1:57154 :> /127.0.0.1:57144] INACTIVE
11:39:48.754 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe00b1c5d, /127.0.0.1:57154 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.754 [nioEventLoopGroup-477-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-477-1
11:39:48.755 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.758 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0fd454f, /127.0.0.1:57155 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.759 [nioEventLoopGroup-468-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:48.759 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0fd454f, /127.0.0.1:57155 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.759 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0fd454f, /127.0.0.1:57155 => /127.0.0.1:57144] FLUSH
11:39:48.759 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0fd454f, /127.0.0.1:57155 => /127.0.0.1:57144] FLUSH
11:39:48.759 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.760 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0fd454f, /127.0.0.1:57155 :> /127.0.0.1:57144] INACTIVE
11:39:48.760 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0fd454f, /127.0.0.1:57155 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.760 [nioEventLoopGroup-478-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-478-1
11:39:48.761 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.763 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4223c5bc, /127.0.0.1:57156 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:48.764 [nioEventLoopGroup-468-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:48.764 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4223c5bc, /127.0.0.1:57156 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.764 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4223c5bc, /127.0.0.1:57156 => /127.0.0.1:57144] FLUSH
11:39:48.765 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4223c5bc, /127.0.0.1:57156 => /127.0.0.1:57144] FLUSH
11:39:48.765 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.765 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4223c5bc, /127.0.0.1:57156 :> /127.0.0.1:57144] INACTIVE
11:39:48.765 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4223c5bc, /127.0.0.1:57156 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.765 [nioEventLoopGroup-479-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-479-1
11:39:48.766 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.769 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca5ec0f5, /127.0.0.1:57157 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:48.770 [nioEventLoopGroup-468-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:48.770 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca5ec0f5, /127.0.0.1:57157 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.770 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca5ec0f5, /127.0.0.1:57157 => /127.0.0.1:57144] FLUSH
11:39:48.771 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca5ec0f5, /127.0.0.1:57157 => /127.0.0.1:57144] FLUSH
11:39:48.770 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.771 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca5ec0f5, /127.0.0.1:57157 :> /127.0.0.1:57144] INACTIVE
11:39:48.771 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca5ec0f5, /127.0.0.1:57157 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.771 [nioEventLoopGroup-480-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-480-1
11:39:48.772 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:48.774 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x834593e4, /127.0.0.1:57158 => /127.0.0.1:57144] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:48.775 [nioEventLoopGroup-468-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:48.776 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x834593e4, /127.0.0.1:57158 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.776 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x834593e4, /127.0.0.1:57158 => /127.0.0.1:57144] FLUSH
11:39:48.776 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x834593e4, /127.0.0.1:57158 => /127.0.0.1:57144] FLUSH
11:39:48.776 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.776 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x834593e4, /127.0.0.1:57158 :> /127.0.0.1:57144] INACTIVE
11:39:48.776 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x834593e4, /127.0.0.1:57158 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.776 [nioEventLoopGroup-481-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-481-1
11:39:48.779 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 => /127.0.0.1:57144] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57144
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:48.780 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.780 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.780 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:48.781 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.781 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


11:39:48.781 [nioEventLoopGroup-468-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:48.782 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 => /127.0.0.1:57144] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
11:39:48.782 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 => /127.0.0.1:57144] FLUSH
11:39:48.787 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 => /127.0.0.1:57144] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57144
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:48.787 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.788 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.788 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:48.788 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:48.788 [nioEventLoopGroup-468-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


11:39:48.789 [nioEventLoopGroup-468-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57144" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:48.789 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 => /127.0.0.1:57144] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
11:39:48.789 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 => /127.0.0.1:57144] FLUSH
11:39:48.792 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:48.794 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad3b0582, /127.0.0.1:57160 => /127.0.0.1:57144] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57144
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:48.795 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad3b0582, /127.0.0.1:57160 => /127.0.0.1:57144] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:48.795 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad3b0582, /127.0.0.1:57160 => /127.0.0.1:57144] FLUSH
11:39:48.795 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad3b0582, /127.0.0.1:57160 => /127.0.0.1:57144] CLOSE()
11:39:48.795 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:48.796 [nioEventLoopGroup-468-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-1
11:39:48.796 [nioEventLoopGroup-468-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-2
11:39:48.796 [nioEventLoopGroup-468-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-4
11:39:48.796 [nioEventLoopGroup-468-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-3
11:39:48.796 [nioEventLoopGroup-468-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-5
11:39:48.796 [nioEventLoopGroup-468-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-8
11:39:48.796 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 :> /127.0.0.1:57144] INACTIVE
11:39:48.796 [nioEventLoopGroup-482-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-482-1
11:39:48.797 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15d5a900, /127.0.0.1:57159 :> /127.0.0.1:57144] UNREGISTERED
11:39:48.817 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3455ad66, /127.0.0.1:57143 :> /127.0.0.1:57127] FLUSH
11:39:48.817 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3455ad66, /127.0.0.1:57143 :> /127.0.0.1:57127] INACTIVE
11:39:48.817 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3455ad66, /127.0.0.1:57143 :> /127.0.0.1:57127] UNREGISTERED
11:39:48.817 [nioEventLoopGroup-452-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-8
11:39:49.153 [MockServer thread for port: 57161] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57161
11:39:49.153 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.156 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd78693bf, /127.0.0.1:57162 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:49.157 [nioEventLoopGroup-484-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:49.157 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd78693bf, /127.0.0.1:57162 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.158 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd78693bf, /127.0.0.1:57162 => /127.0.0.1:57161] FLUSH
11:39:49.158 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd78693bf, /127.0.0.1:57162 => /127.0.0.1:57161] FLUSH
11:39:49.158 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.158 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd78693bf, /127.0.0.1:57162 :> /127.0.0.1:57161] INACTIVE
11:39:49.158 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd78693bf, /127.0.0.1:57162 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.159 [nioEventLoopGroup-485-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-485-1
11:39:49.159 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.163 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89529a6c, /127.0.0.1:57163 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:49.164 [nioEventLoopGroup-484-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:49.165 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89529a6c, /127.0.0.1:57163 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.165 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89529a6c, /127.0.0.1:57163 => /127.0.0.1:57161] FLUSH
11:39:49.165 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89529a6c, /127.0.0.1:57163 => /127.0.0.1:57161] FLUSH
11:39:49.165 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.165 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89529a6c, /127.0.0.1:57163 :> /127.0.0.1:57161] INACTIVE
11:39:49.165 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89529a6c, /127.0.0.1:57163 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.165 [nioEventLoopGroup-486-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-486-1
11:39:49.166 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.169 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1035279, /127.0.0.1:57164 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:49.170 [nioEventLoopGroup-484-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:49.171 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1035279, /127.0.0.1:57164 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.171 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1035279, /127.0.0.1:57164 => /127.0.0.1:57161] FLUSH
11:39:49.171 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1035279, /127.0.0.1:57164 => /127.0.0.1:57161] FLUSH
11:39:49.171 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.171 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1035279, /127.0.0.1:57164 :> /127.0.0.1:57161] INACTIVE
11:39:49.171 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1035279, /127.0.0.1:57164 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.172 [nioEventLoopGroup-487-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-487-1
11:39:49.172 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.175 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x905f806e, /127.0.0.1:57165 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.176 [nioEventLoopGroup-484-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:49.176 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x905f806e, /127.0.0.1:57165 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.176 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x905f806e, /127.0.0.1:57165 => /127.0.0.1:57161] FLUSH
11:39:49.177 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x905f806e, /127.0.0.1:57165 => /127.0.0.1:57161] FLUSH
11:39:49.177 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.177 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x905f806e, /127.0.0.1:57165 :> /127.0.0.1:57161] INACTIVE
11:39:49.177 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x905f806e, /127.0.0.1:57165 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.177 [nioEventLoopGroup-488-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-488-1
11:39:49.178 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.181 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd91b0a45, /127.0.0.1:57166 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:49.182 [nioEventLoopGroup-484-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:49.182 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd91b0a45, /127.0.0.1:57166 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.182 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd91b0a45, /127.0.0.1:57166 => /127.0.0.1:57161] FLUSH
11:39:49.183 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd91b0a45, /127.0.0.1:57166 => /127.0.0.1:57161] FLUSH
11:39:49.183 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.183 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd91b0a45, /127.0.0.1:57166 :> /127.0.0.1:57161] INACTIVE
11:39:49.183 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd91b0a45, /127.0.0.1:57166 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.183 [nioEventLoopGroup-489-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-489-1
11:39:49.184 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.187 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d4600a, /127.0.0.1:57167 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:49.188 [nioEventLoopGroup-484-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:49.188 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d4600a, /127.0.0.1:57167 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.188 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d4600a, /127.0.0.1:57167 => /127.0.0.1:57161] FLUSH
11:39:49.189 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d4600a, /127.0.0.1:57167 => /127.0.0.1:57161] FLUSH
11:39:49.189 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.189 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d4600a, /127.0.0.1:57167 :> /127.0.0.1:57161] INACTIVE
11:39:49.189 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d4600a, /127.0.0.1:57167 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.189 [nioEventLoopGroup-490-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-490-1
11:39:49.190 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.193 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f76f4e4, /127.0.0.1:57168 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:49.194 [nioEventLoopGroup-484-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:49.194 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f76f4e4, /127.0.0.1:57168 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.194 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f76f4e4, /127.0.0.1:57168 => /127.0.0.1:57161] FLUSH
11:39:49.194 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f76f4e4, /127.0.0.1:57168 => /127.0.0.1:57161] FLUSH
11:39:49.194 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f76f4e4, /127.0.0.1:57168 :> /127.0.0.1:57161] INACTIVE
11:39:49.194 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f76f4e4, /127.0.0.1:57168 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.194 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.195 [nioEventLoopGroup-491-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-491-1
11:39:49.196 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.198 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba14e68f, /127.0.0.1:57169 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.199 [nioEventLoopGroup-484-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:49.199 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba14e68f, /127.0.0.1:57169 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.199 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba14e68f, /127.0.0.1:57169 => /127.0.0.1:57161] FLUSH
11:39:49.200 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba14e68f, /127.0.0.1:57169 => /127.0.0.1:57161] FLUSH
11:39:49.200 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.200 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba14e68f, /127.0.0.1:57169 :> /127.0.0.1:57161] INACTIVE
11:39:49.200 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba14e68f, /127.0.0.1:57169 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.200 [nioEventLoopGroup-492-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-492-1
11:39:49.201 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.203 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d3c1cc, /127.0.0.1:57170 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.204 [nioEventLoopGroup-484-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:49.204 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d3c1cc, /127.0.0.1:57170 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.205 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d3c1cc, /127.0.0.1:57170 => /127.0.0.1:57161] FLUSH
11:39:49.205 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d3c1cc, /127.0.0.1:57170 => /127.0.0.1:57161] FLUSH
11:39:49.205 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.205 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d3c1cc, /127.0.0.1:57170 :> /127.0.0.1:57161] INACTIVE
11:39:49.205 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97d3c1cc, /127.0.0.1:57170 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.205 [nioEventLoopGroup-493-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-493-1
11:39:49.206 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.209 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca313c5d, /127.0.0.1:57171 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.210 [nioEventLoopGroup-484-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:49.210 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca313c5d, /127.0.0.1:57171 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.210 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca313c5d, /127.0.0.1:57171 => /127.0.0.1:57161] FLUSH
11:39:49.210 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca313c5d, /127.0.0.1:57171 => /127.0.0.1:57161] FLUSH
11:39:49.211 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca313c5d, /127.0.0.1:57171 :> /127.0.0.1:57161] INACTIVE
11:39:49.210 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.211 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca313c5d, /127.0.0.1:57171 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.211 [nioEventLoopGroup-494-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-494-1
11:39:49.212 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.214 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5535174, /127.0.0.1:57172 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.215 [nioEventLoopGroup-484-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:49.215 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5535174, /127.0.0.1:57172 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.215 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5535174, /127.0.0.1:57172 => /127.0.0.1:57161] FLUSH
11:39:49.216 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5535174, /127.0.0.1:57172 => /127.0.0.1:57161] FLUSH
11:39:49.216 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.216 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5535174, /127.0.0.1:57172 :> /127.0.0.1:57161] INACTIVE
11:39:49.216 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5535174, /127.0.0.1:57172 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.216 [nioEventLoopGroup-495-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-495-1
11:39:49.217 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.220 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b3c7bce, /127.0.0.1:57173 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:49.221 [nioEventLoopGroup-484-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:49.221 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b3c7bce, /127.0.0.1:57173 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.221 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b3c7bce, /127.0.0.1:57173 => /127.0.0.1:57161] FLUSH
11:39:49.222 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b3c7bce, /127.0.0.1:57173 => /127.0.0.1:57161] FLUSH
11:39:49.222 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.222 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b3c7bce, /127.0.0.1:57173 :> /127.0.0.1:57161] INACTIVE
11:39:49.222 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5b3c7bce, /127.0.0.1:57173 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.222 [nioEventLoopGroup-496-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-496-1
11:39:49.223 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.226 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b1860ce, /127.0.0.1:57174 => /127.0.0.1:57161] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:49.227 [nioEventLoopGroup-484-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:49.227 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b1860ce, /127.0.0.1:57174 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.227 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b1860ce, /127.0.0.1:57174 => /127.0.0.1:57161] FLUSH
11:39:49.227 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b1860ce, /127.0.0.1:57174 => /127.0.0.1:57161] FLUSH
11:39:49.227 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.227 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b1860ce, /127.0.0.1:57174 :> /127.0.0.1:57161] INACTIVE
11:39:49.228 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b1860ce, /127.0.0.1:57174 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.228 [nioEventLoopGroup-497-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-497-1
11:39:49.235 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda593252, /127.0.0.1:57175 => /127.0.0.1:57161] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Host: localhost:57161
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:49.236 [nioEventLoopGroup-484-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.236 [nioEventLoopGroup-484-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.236 [nioEventLoopGroup-484-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:49.237 [nioEventLoopGroup-484-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.237 [nioEventLoopGroup-484-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.237 [nioEventLoopGroup-484-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


11:39:49.238 [nioEventLoopGroup-484-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:49.238 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda593252, /127.0.0.1:57175 => /127.0.0.1:57161] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
11:39:49.238 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda593252, /127.0.0.1:57175 => /127.0.0.1:57161] FLUSH
11:39:49.286 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1f2e915, /127.0.0.1:57176 => /127.0.0.1:57161] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Host: localhost:57161
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:49.287 [nioEventLoopGroup-484-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.287 [nioEventLoopGroup-484-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.287 [nioEventLoopGroup-484-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:49.287 [nioEventLoopGroup-484-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.288 [nioEventLoopGroup-484-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.288 [nioEventLoopGroup-484-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


11:39:49.288 [nioEventLoopGroup-484-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57161" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:49.289 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1f2e915, /127.0.0.1:57176 => /127.0.0.1:57161] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
11:39:49.289 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1f2e915, /127.0.0.1:57176 => /127.0.0.1:57161] FLUSH
11:39:49.290 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:49.294 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3aa4fdb, /127.0.0.1:57177 => /127.0.0.1:57161] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57161
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:49.294 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3aa4fdb, /127.0.0.1:57177 => /127.0.0.1:57161] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.294 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3aa4fdb, /127.0.0.1:57177 => /127.0.0.1:57161] FLUSH
11:39:49.295 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3aa4fdb, /127.0.0.1:57177 => /127.0.0.1:57161] CLOSE()
11:39:49.306 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad3b0582, /127.0.0.1:57160 :> /127.0.0.1:57144] FLUSH
11:39:49.306 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad3b0582, /127.0.0.1:57160 :> /127.0.0.1:57144] INACTIVE
11:39:49.306 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad3b0582, /127.0.0.1:57160 :> /127.0.0.1:57144] UNREGISTERED
11:39:49.307 [nioEventLoopGroup-468-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-7
11:39:49.307 [nioEventLoopGroup-484-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-1
11:39:49.307 [nioEventLoopGroup-484-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-2
11:39:49.307 [nioEventLoopGroup-484-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-3
11:39:49.307 [nioEventLoopGroup-484-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-5
11:39:49.307 [nioEventLoopGroup-484-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-4
11:39:49.307 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda593252, /127.0.0.1:57175 :> /127.0.0.1:57161] INACTIVE
11:39:49.307 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1f2e915, /127.0.0.1:57176 :> /127.0.0.1:57161] INACTIVE
11:39:49.307 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda593252, /127.0.0.1:57175 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.307 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe1f2e915, /127.0.0.1:57176 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.295 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.307 [nioEventLoopGroup-498-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-498-1
11:39:49.321 [nioEventLoopGroup-452-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-7
11:39:49.321 [nioEventLoopGroup-452-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-6
11:39:49.663 [MockServer thread for port: 57178] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57178
11:39:49.664 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.667 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6cfffa15, /127.0.0.1:57179 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:49.668 [nioEventLoopGroup-500-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:49.668 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6cfffa15, /127.0.0.1:57179 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.668 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6cfffa15, /127.0.0.1:57179 => /127.0.0.1:57178] FLUSH
11:39:49.669 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6cfffa15, /127.0.0.1:57179 => /127.0.0.1:57178] FLUSH
11:39:49.669 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6cfffa15, /127.0.0.1:57179 :> /127.0.0.1:57178] INACTIVE
11:39:49.669 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6cfffa15, /127.0.0.1:57179 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.669 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.669 [nioEventLoopGroup-501-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-501-1
11:39:49.670 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.673 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x52d1ba4f, /127.0.0.1:57180 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:49.674 [nioEventLoopGroup-500-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:49.674 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x52d1ba4f, /127.0.0.1:57180 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.674 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x52d1ba4f, /127.0.0.1:57180 => /127.0.0.1:57178] FLUSH
11:39:49.675 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x52d1ba4f, /127.0.0.1:57180 => /127.0.0.1:57178] FLUSH
11:39:49.675 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.675 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x52d1ba4f, /127.0.0.1:57180 :> /127.0.0.1:57178] INACTIVE
11:39:49.675 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x52d1ba4f, /127.0.0.1:57180 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.675 [nioEventLoopGroup-502-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-502-1
11:39:49.676 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.679 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3571a0f, /127.0.0.1:57181 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:49.680 [nioEventLoopGroup-500-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:49.680 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3571a0f, /127.0.0.1:57181 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.680 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3571a0f, /127.0.0.1:57181 => /127.0.0.1:57178] FLUSH
11:39:49.681 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3571a0f, /127.0.0.1:57181 => /127.0.0.1:57178] FLUSH
11:39:49.681 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.681 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3571a0f, /127.0.0.1:57181 :> /127.0.0.1:57178] INACTIVE
11:39:49.681 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3571a0f, /127.0.0.1:57181 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.681 [nioEventLoopGroup-503-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-503-1
11:39:49.682 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.685 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1291f888, /127.0.0.1:57182 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.685 [nioEventLoopGroup-500-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:49.686 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1291f888, /127.0.0.1:57182 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.686 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1291f888, /127.0.0.1:57182 => /127.0.0.1:57178] FLUSH
11:39:49.686 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1291f888, /127.0.0.1:57182 => /127.0.0.1:57178] FLUSH
11:39:49.686 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.686 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1291f888, /127.0.0.1:57182 :> /127.0.0.1:57178] INACTIVE
11:39:49.686 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1291f888, /127.0.0.1:57182 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.686 [nioEventLoopGroup-504-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-504-1
11:39:49.687 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.690 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15f9d259, /127.0.0.1:57183 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:49.691 [nioEventLoopGroup-500-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:49.691 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15f9d259, /127.0.0.1:57183 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.691 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15f9d259, /127.0.0.1:57183 => /127.0.0.1:57178] FLUSH
11:39:49.692 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15f9d259, /127.0.0.1:57183 => /127.0.0.1:57178] FLUSH
11:39:49.692 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15f9d259, /127.0.0.1:57183 :> /127.0.0.1:57178] INACTIVE
11:39:49.692 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.692 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15f9d259, /127.0.0.1:57183 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.692 [nioEventLoopGroup-505-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-505-1
11:39:49.693 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.696 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fbb6d97, /127.0.0.1:57184 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:49.697 [nioEventLoopGroup-500-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:49.697 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fbb6d97, /127.0.0.1:57184 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.697 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fbb6d97, /127.0.0.1:57184 => /127.0.0.1:57178] FLUSH
11:39:49.697 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fbb6d97, /127.0.0.1:57184 => /127.0.0.1:57178] FLUSH
11:39:49.697 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fbb6d97, /127.0.0.1:57184 :> /127.0.0.1:57178] INACTIVE
11:39:49.698 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fbb6d97, /127.0.0.1:57184 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.697 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.698 [nioEventLoopGroup-506-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-506-1
11:39:49.699 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.702 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0aaca00, /127.0.0.1:57185 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:49.703 [nioEventLoopGroup-500-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:49.703 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0aaca00, /127.0.0.1:57185 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.703 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0aaca00, /127.0.0.1:57185 => /127.0.0.1:57178] FLUSH
11:39:49.703 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0aaca00, /127.0.0.1:57185 => /127.0.0.1:57178] FLUSH
11:39:49.703 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.703 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0aaca00, /127.0.0.1:57185 :> /127.0.0.1:57178] INACTIVE
11:39:49.704 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd0aaca00, /127.0.0.1:57185 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.704 [nioEventLoopGroup-507-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-507-1
11:39:49.705 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.707 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x835c9ffd, /127.0.0.1:57186 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.708 [nioEventLoopGroup-500-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:49.708 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x835c9ffd, /127.0.0.1:57186 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.708 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x835c9ffd, /127.0.0.1:57186 => /127.0.0.1:57178] FLUSH
11:39:49.709 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.709 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x835c9ffd, /127.0.0.1:57186 => /127.0.0.1:57178] FLUSH
11:39:49.709 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x835c9ffd, /127.0.0.1:57186 :> /127.0.0.1:57178] INACTIVE
11:39:49.709 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x835c9ffd, /127.0.0.1:57186 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.709 [nioEventLoopGroup-508-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-508-1
11:39:49.710 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.713 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x466d9d5f, /127.0.0.1:57187 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.713 [nioEventLoopGroup-500-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:49.714 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x466d9d5f, /127.0.0.1:57187 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.714 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x466d9d5f, /127.0.0.1:57187 => /127.0.0.1:57178] FLUSH
11:39:49.714 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x466d9d5f, /127.0.0.1:57187 => /127.0.0.1:57178] FLUSH
11:39:49.714 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.714 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x466d9d5f, /127.0.0.1:57187 :> /127.0.0.1:57178] INACTIVE
11:39:49.714 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x466d9d5f, /127.0.0.1:57187 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.714 [nioEventLoopGroup-509-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-509-1
11:39:49.716 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.718 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2355acfe, /127.0.0.1:57188 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.719 [nioEventLoopGroup-500-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:49.719 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2355acfe, /127.0.0.1:57188 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.719 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2355acfe, /127.0.0.1:57188 => /127.0.0.1:57178] FLUSH
11:39:49.720 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2355acfe, /127.0.0.1:57188 => /127.0.0.1:57178] FLUSH
11:39:49.720 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.720 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2355acfe, /127.0.0.1:57188 :> /127.0.0.1:57178] INACTIVE
11:39:49.720 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2355acfe, /127.0.0.1:57188 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.720 [nioEventLoopGroup-510-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-510-1
11:39:49.721 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.723 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b787e9e, /127.0.0.1:57189 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:49.724 [nioEventLoopGroup-500-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:49.724 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b787e9e, /127.0.0.1:57189 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.724 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b787e9e, /127.0.0.1:57189 => /127.0.0.1:57178] FLUSH
11:39:49.725 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b787e9e, /127.0.0.1:57189 => /127.0.0.1:57178] FLUSH
11:39:49.725 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.725 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b787e9e, /127.0.0.1:57189 :> /127.0.0.1:57178] INACTIVE
11:39:49.725 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b787e9e, /127.0.0.1:57189 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.725 [nioEventLoopGroup-511-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-511-1
11:39:49.726 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.729 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x883846c8, /127.0.0.1:57190 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:49.730 [nioEventLoopGroup-500-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:49.730 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x883846c8, /127.0.0.1:57190 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.730 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x883846c8, /127.0.0.1:57190 => /127.0.0.1:57178] FLUSH
11:39:49.731 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x883846c8, /127.0.0.1:57190 => /127.0.0.1:57178] FLUSH
11:39:49.731 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.731 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x883846c8, /127.0.0.1:57190 :> /127.0.0.1:57178] INACTIVE
11:39:49.731 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x883846c8, /127.0.0.1:57190 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.731 [nioEventLoopGroup-512-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-512-1
11:39:49.732 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:49.735 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb80da7b, /127.0.0.1:57191 => /127.0.0.1:57178] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:49.736 [nioEventLoopGroup-500-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:49.736 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb80da7b, /127.0.0.1:57191 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.736 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb80da7b, /127.0.0.1:57191 => /127.0.0.1:57178] FLUSH
11:39:49.736 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb80da7b, /127.0.0.1:57191 => /127.0.0.1:57178] FLUSH
11:39:49.736 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb80da7b, /127.0.0.1:57191 :> /127.0.0.1:57178] INACTIVE
11:39:49.736 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb80da7b, /127.0.0.1:57191 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.737 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.737 [nioEventLoopGroup-513-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-513-1
11:39:49.740 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 => /127.0.0.1:57178] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57178
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:49.740 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.740 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.740 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:49.741 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.741 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.741 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


11:39:49.742 [nioEventLoopGroup-500-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:49.742 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 => /127.0.0.1:57178] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
11:39:49.742 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 => /127.0.0.1:57178] FLUSH
11:39:49.745 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 => /127.0.0.1:57178] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57178
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:49.745 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.746 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.746 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:49.747 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.747 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:49.747 [nioEventLoopGroup-500-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


11:39:49.748 [nioEventLoopGroup-500-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57178" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:49.748 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 => /127.0.0.1:57178] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
11:39:49.749 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 => /127.0.0.1:57178] FLUSH
11:39:49.749 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:49.752 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73a7054c, /127.0.0.1:57193 => /127.0.0.1:57178] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57178
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:49.752 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73a7054c, /127.0.0.1:57193 => /127.0.0.1:57178] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:49.753 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73a7054c, /127.0.0.1:57193 => /127.0.0.1:57178] FLUSH
11:39:49.753 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73a7054c, /127.0.0.1:57193 => /127.0.0.1:57178] CLOSE()
11:39:49.754 [nioEventLoopGroup-500-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-2
11:39:49.754 [nioEventLoopGroup-500-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-1
11:39:49.754 [nioEventLoopGroup-500-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-3
11:39:49.754 [nioEventLoopGroup-500-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-4
11:39:49.754 [nioEventLoopGroup-500-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-5
11:39:49.754 [nioEventLoopGroup-500-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-8
11:39:49.754 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 :> /127.0.0.1:57178] INACTIVE
11:39:49.754 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfaa6f0da, /127.0.0.1:57192 :> /127.0.0.1:57178] UNREGISTERED
11:39:49.754 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:49.755 [nioEventLoopGroup-514-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-514-1
11:39:49.802 [nioEventLoopGroup-468-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-6
11:39:49.810 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3aa4fdb, /127.0.0.1:57177 :> /127.0.0.1:57161] FLUSH
11:39:49.810 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3aa4fdb, /127.0.0.1:57177 :> /127.0.0.1:57161] INACTIVE
11:39:49.810 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3aa4fdb, /127.0.0.1:57177 :> /127.0.0.1:57161] UNREGISTERED
11:39:49.811 [nioEventLoopGroup-484-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-8
11:39:50.111 [MockServer thread for port: 57194] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57194
11:39:50.112 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.115 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x935ee726, /127.0.0.1:57195 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:50.116 [nioEventLoopGroup-516-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:50.116 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x935ee726, /127.0.0.1:57195 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.116 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x935ee726, /127.0.0.1:57195 => /127.0.0.1:57194] FLUSH
11:39:50.116 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x935ee726, /127.0.0.1:57195 => /127.0.0.1:57194] FLUSH
11:39:50.116 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.116 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x935ee726, /127.0.0.1:57195 :> /127.0.0.1:57194] INACTIVE
11:39:50.117 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x935ee726, /127.0.0.1:57195 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.117 [nioEventLoopGroup-517-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-517-1
11:39:50.118 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.121 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fca19e2, /127.0.0.1:57196 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:50.122 [nioEventLoopGroup-516-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:50.122 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fca19e2, /127.0.0.1:57196 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.122 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fca19e2, /127.0.0.1:57196 => /127.0.0.1:57194] FLUSH
11:39:50.123 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fca19e2, /127.0.0.1:57196 => /127.0.0.1:57194] FLUSH
11:39:50.123 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.123 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fca19e2, /127.0.0.1:57196 :> /127.0.0.1:57194] INACTIVE
11:39:50.123 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fca19e2, /127.0.0.1:57196 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.123 [nioEventLoopGroup-518-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-518-1
11:39:50.124 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.127 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4f470d3, /127.0.0.1:57197 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:50.128 [nioEventLoopGroup-516-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:50.128 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4f470d3, /127.0.0.1:57197 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.128 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4f470d3, /127.0.0.1:57197 => /127.0.0.1:57194] FLUSH
11:39:50.128 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4f470d3, /127.0.0.1:57197 => /127.0.0.1:57194] FLUSH
11:39:50.128 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.129 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4f470d3, /127.0.0.1:57197 :> /127.0.0.1:57194] INACTIVE
11:39:50.129 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4f470d3, /127.0.0.1:57197 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.129 [nioEventLoopGroup-519-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-519-1
11:39:50.129 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.132 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd676103d, /127.0.0.1:57198 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.133 [nioEventLoopGroup-516-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:50.133 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd676103d, /127.0.0.1:57198 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.133 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd676103d, /127.0.0.1:57198 => /127.0.0.1:57194] FLUSH
11:39:50.134 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd676103d, /127.0.0.1:57198 => /127.0.0.1:57194] FLUSH
11:39:50.134 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.134 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd676103d, /127.0.0.1:57198 :> /127.0.0.1:57194] INACTIVE
11:39:50.134 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd676103d, /127.0.0.1:57198 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.134 [nioEventLoopGroup-520-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-520-1
11:39:50.135 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.138 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf776467, /127.0.0.1:57199 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:50.139 [nioEventLoopGroup-516-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:50.139 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf776467, /127.0.0.1:57199 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.139 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf776467, /127.0.0.1:57199 => /127.0.0.1:57194] FLUSH
11:39:50.140 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf776467, /127.0.0.1:57199 => /127.0.0.1:57194] FLUSH
11:39:50.140 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.140 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf776467, /127.0.0.1:57199 :> /127.0.0.1:57194] INACTIVE
11:39:50.140 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf776467, /127.0.0.1:57199 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.140 [nioEventLoopGroup-521-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-521-1
11:39:50.141 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.144 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00d015d0, /127.0.0.1:57200 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:50.146 [nioEventLoopGroup-516-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:50.146 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00d015d0, /127.0.0.1:57200 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.146 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00d015d0, /127.0.0.1:57200 => /127.0.0.1:57194] FLUSH
11:39:50.146 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00d015d0, /127.0.0.1:57200 => /127.0.0.1:57194] FLUSH
11:39:50.146 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.147 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00d015d0, /127.0.0.1:57200 :> /127.0.0.1:57194] INACTIVE
11:39:50.147 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00d015d0, /127.0.0.1:57200 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.147 [nioEventLoopGroup-522-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-522-1
11:39:50.148 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.151 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf85f21c7, /127.0.0.1:57201 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:50.152 [nioEventLoopGroup-516-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:50.152 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf85f21c7, /127.0.0.1:57201 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.152 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf85f21c7, /127.0.0.1:57201 => /127.0.0.1:57194] FLUSH
11:39:50.153 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf85f21c7, /127.0.0.1:57201 => /127.0.0.1:57194] FLUSH
11:39:50.153 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.153 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf85f21c7, /127.0.0.1:57201 :> /127.0.0.1:57194] INACTIVE
11:39:50.153 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf85f21c7, /127.0.0.1:57201 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.153 [nioEventLoopGroup-523-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-523-1
11:39:50.154 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.157 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x479efc1b, /127.0.0.1:57202 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.158 [nioEventLoopGroup-516-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:50.158 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x479efc1b, /127.0.0.1:57202 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.158 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x479efc1b, /127.0.0.1:57202 => /127.0.0.1:57194] FLUSH
11:39:50.159 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x479efc1b, /127.0.0.1:57202 => /127.0.0.1:57194] FLUSH
11:39:50.159 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x479efc1b, /127.0.0.1:57202 :> /127.0.0.1:57194] INACTIVE
11:39:50.159 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x479efc1b, /127.0.0.1:57202 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.159 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.159 [nioEventLoopGroup-524-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-524-1
11:39:50.160 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.163 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c9412b8, /127.0.0.1:57203 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.163 [nioEventLoopGroup-516-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:50.164 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c9412b8, /127.0.0.1:57203 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.164 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c9412b8, /127.0.0.1:57203 => /127.0.0.1:57194] FLUSH
11:39:50.164 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c9412b8, /127.0.0.1:57203 => /127.0.0.1:57194] FLUSH
11:39:50.164 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.164 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c9412b8, /127.0.0.1:57203 :> /127.0.0.1:57194] INACTIVE
11:39:50.164 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c9412b8, /127.0.0.1:57203 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.164 [nioEventLoopGroup-525-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-525-1
11:39:50.165 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.168 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b013a74, /127.0.0.1:57204 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.169 [nioEventLoopGroup-516-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:50.169 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b013a74, /127.0.0.1:57204 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.169 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b013a74, /127.0.0.1:57204 => /127.0.0.1:57194] FLUSH
11:39:50.170 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b013a74, /127.0.0.1:57204 => /127.0.0.1:57194] FLUSH
11:39:50.170 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.170 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b013a74, /127.0.0.1:57204 :> /127.0.0.1:57194] INACTIVE
11:39:50.170 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b013a74, /127.0.0.1:57204 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.170 [nioEventLoopGroup-526-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-526-1
11:39:50.171 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.174 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xedc4045a, /127.0.0.1:57205 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.175 [nioEventLoopGroup-516-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:50.175 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xedc4045a, /127.0.0.1:57205 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.175 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xedc4045a, /127.0.0.1:57205 => /127.0.0.1:57194] FLUSH
11:39:50.175 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xedc4045a, /127.0.0.1:57205 => /127.0.0.1:57194] FLUSH
11:39:50.175 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.176 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xedc4045a, /127.0.0.1:57205 :> /127.0.0.1:57194] INACTIVE
11:39:50.176 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xedc4045a, /127.0.0.1:57205 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.176 [nioEventLoopGroup-527-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-527-1
11:39:50.177 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.180 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb704cd2b, /127.0.0.1:57206 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:50.181 [nioEventLoopGroup-516-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:50.182 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb704cd2b, /127.0.0.1:57206 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.182 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb704cd2b, /127.0.0.1:57206 => /127.0.0.1:57194] FLUSH
11:39:50.182 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb704cd2b, /127.0.0.1:57206 => /127.0.0.1:57194] FLUSH
11:39:50.182 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.182 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb704cd2b, /127.0.0.1:57206 :> /127.0.0.1:57194] INACTIVE
11:39:50.182 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb704cd2b, /127.0.0.1:57206 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.182 [nioEventLoopGroup-528-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-528-1
11:39:50.184 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.187 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40e414f5, /127.0.0.1:57207 => /127.0.0.1:57194] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:50.188 [nioEventLoopGroup-516-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:50.188 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40e414f5, /127.0.0.1:57207 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.188 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40e414f5, /127.0.0.1:57207 => /127.0.0.1:57194] FLUSH
11:39:50.188 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40e414f5, /127.0.0.1:57207 => /127.0.0.1:57194] FLUSH
11:39:50.189 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40e414f5, /127.0.0.1:57207 :> /127.0.0.1:57194] INACTIVE
11:39:50.189 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40e414f5, /127.0.0.1:57207 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.188 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.189 [nioEventLoopGroup-529-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-529-1
11:39:50.204 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53bb62ee, /127.0.0.1:57208 => /127.0.0.1:57194] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:57194
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Cookie: biscuit=wafer
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:50.220 [nioEventLoopGroup-516-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.221 [nioEventLoopGroup-516-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.221 [nioEventLoopGroup-516-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


11:39:50.222 [nioEventLoopGroup-516-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:50.222 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53bb62ee, /127.0.0.1:57208 => /127.0.0.1:57194] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:50.222 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53bb62ee, /127.0.0.1:57208 => /127.0.0.1:57194] FLUSH
11:39:50.229 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35bd39f7, /127.0.0.1:57209 => /127.0.0.1:57194] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:57194
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Cookie: biscuit=wafer
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:50.229 [nioEventLoopGroup-516-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.230 [nioEventLoopGroup-516-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.230 [nioEventLoopGroup-516-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


11:39:50.230 [nioEventLoopGroup-516-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57194" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:50.231 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35bd39f7, /127.0.0.1:57209 => /127.0.0.1:57194] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:50.231 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35bd39f7, /127.0.0.1:57209 => /127.0.0.1:57194] FLUSH
11:39:50.232 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:50.234 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc997c6f, /127.0.0.1:57210 => /127.0.0.1:57194] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57194
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:50.235 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc997c6f, /127.0.0.1:57210 => /127.0.0.1:57194] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.235 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc997c6f, /127.0.0.1:57210 => /127.0.0.1:57194] FLUSH
11:39:50.235 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc997c6f, /127.0.0.1:57210 => /127.0.0.1:57194] CLOSE()
11:39:50.236 [nioEventLoopGroup-516-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-5
11:39:50.236 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35bd39f7, /127.0.0.1:57209 :> /127.0.0.1:57194] INACTIVE
11:39:50.236 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x35bd39f7, /127.0.0.1:57209 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.237 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.237 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53bb62ee, /127.0.0.1:57208 :> /127.0.0.1:57194] INACTIVE
11:39:50.237 [nioEventLoopGroup-516-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-4
11:39:50.237 [nioEventLoopGroup-516-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-3
11:39:50.237 [nioEventLoopGroup-516-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-2
11:39:50.237 [nioEventLoopGroup-516-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-1
11:39:50.237 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53bb62ee, /127.0.0.1:57208 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.237 [nioEventLoopGroup-530-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-530-1
11:39:50.258 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73a7054c, /127.0.0.1:57193 :> /127.0.0.1:57178] FLUSH
11:39:50.258 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73a7054c, /127.0.0.1:57193 :> /127.0.0.1:57178] INACTIVE
11:39:50.258 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73a7054c, /127.0.0.1:57193 :> /127.0.0.1:57178] UNREGISTERED
11:39:50.259 [nioEventLoopGroup-500-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-7
11:39:50.309 [nioEventLoopGroup-484-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-7
11:39:50.309 [nioEventLoopGroup-484-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-6
11:39:50.594 [MockServer thread for port: 57211] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57211
11:39:50.594 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.598 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bc4ead0, /127.0.0.1:57216 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:50.598 [nioEventLoopGroup-532-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:50.599 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bc4ead0, /127.0.0.1:57216 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.599 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bc4ead0, /127.0.0.1:57216 => /127.0.0.1:57211] FLUSH
11:39:50.599 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bc4ead0, /127.0.0.1:57216 => /127.0.0.1:57211] FLUSH
11:39:50.599 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.599 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bc4ead0, /127.0.0.1:57216 :> /127.0.0.1:57211] INACTIVE
11:39:50.599 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bc4ead0, /127.0.0.1:57216 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.599 [nioEventLoopGroup-533-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-533-1
11:39:50.600 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.603 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e54713a, /127.0.0.1:57217 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:50.605 [nioEventLoopGroup-532-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:50.605 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e54713a, /127.0.0.1:57217 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.605 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e54713a, /127.0.0.1:57217 => /127.0.0.1:57211] FLUSH
11:39:50.606 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e54713a, /127.0.0.1:57217 => /127.0.0.1:57211] FLUSH
11:39:50.606 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e54713a, /127.0.0.1:57217 :> /127.0.0.1:57211] INACTIVE
11:39:50.606 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e54713a, /127.0.0.1:57217 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.606 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.606 [nioEventLoopGroup-534-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-534-1
11:39:50.607 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.610 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67c669af, /127.0.0.1:57218 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:50.611 [nioEventLoopGroup-532-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:50.611 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67c669af, /127.0.0.1:57218 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.611 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67c669af, /127.0.0.1:57218 => /127.0.0.1:57211] FLUSH
11:39:50.611 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67c669af, /127.0.0.1:57218 => /127.0.0.1:57211] FLUSH
11:39:50.611 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67c669af, /127.0.0.1:57218 :> /127.0.0.1:57211] INACTIVE
11:39:50.611 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.612 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67c669af, /127.0.0.1:57218 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.612 [nioEventLoopGroup-535-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-535-1
11:39:50.613 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.616 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3601477, /127.0.0.1:57219 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.617 [nioEventLoopGroup-532-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:50.618 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3601477, /127.0.0.1:57219 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.618 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3601477, /127.0.0.1:57219 => /127.0.0.1:57211] FLUSH
11:39:50.618 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3601477, /127.0.0.1:57219 => /127.0.0.1:57211] FLUSH
11:39:50.618 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3601477, /127.0.0.1:57219 :> /127.0.0.1:57211] INACTIVE
11:39:50.618 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.618 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc3601477, /127.0.0.1:57219 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.618 [nioEventLoopGroup-536-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-536-1
11:39:50.619 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.623 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x237ac6fc, /127.0.0.1:57220 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:50.624 [nioEventLoopGroup-532-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:50.624 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x237ac6fc, /127.0.0.1:57220 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.624 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x237ac6fc, /127.0.0.1:57220 => /127.0.0.1:57211] FLUSH
11:39:50.625 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x237ac6fc, /127.0.0.1:57220 => /127.0.0.1:57211] FLUSH
11:39:50.625 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.625 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x237ac6fc, /127.0.0.1:57220 :> /127.0.0.1:57211] INACTIVE
11:39:50.625 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x237ac6fc, /127.0.0.1:57220 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.625 [nioEventLoopGroup-537-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-537-1
11:39:50.626 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.629 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef8b69f1, /127.0.0.1:57221 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:50.631 [nioEventLoopGroup-532-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:50.631 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef8b69f1, /127.0.0.1:57221 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.631 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef8b69f1, /127.0.0.1:57221 => /127.0.0.1:57211] FLUSH
11:39:50.631 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef8b69f1, /127.0.0.1:57221 => /127.0.0.1:57211] FLUSH
11:39:50.631 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef8b69f1, /127.0.0.1:57221 :> /127.0.0.1:57211] INACTIVE
11:39:50.632 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef8b69f1, /127.0.0.1:57221 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.631 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.632 [nioEventLoopGroup-538-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-538-1
11:39:50.633 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.636 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fce94f6, /127.0.0.1:57222 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:50.637 [nioEventLoopGroup-532-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:50.637 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fce94f6, /127.0.0.1:57222 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.637 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fce94f6, /127.0.0.1:57222 => /127.0.0.1:57211] FLUSH
11:39:50.638 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.638 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fce94f6, /127.0.0.1:57222 => /127.0.0.1:57211] FLUSH
11:39:50.638 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fce94f6, /127.0.0.1:57222 :> /127.0.0.1:57211] INACTIVE
11:39:50.638 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fce94f6, /127.0.0.1:57222 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.638 [nioEventLoopGroup-539-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-539-1
11:39:50.639 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.642 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x958077d3, /127.0.0.1:57223 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.643 [nioEventLoopGroup-532-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:50.643 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x958077d3, /127.0.0.1:57223 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.643 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x958077d3, /127.0.0.1:57223 => /127.0.0.1:57211] FLUSH
11:39:50.643 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x958077d3, /127.0.0.1:57223 => /127.0.0.1:57211] FLUSH
11:39:50.643 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.644 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x958077d3, /127.0.0.1:57223 :> /127.0.0.1:57211] INACTIVE
11:39:50.644 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x958077d3, /127.0.0.1:57223 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.644 [nioEventLoopGroup-540-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-540-1
11:39:50.645 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.647 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf753947a, /127.0.0.1:57224 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.648 [nioEventLoopGroup-532-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:50.649 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf753947a, /127.0.0.1:57224 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.649 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf753947a, /127.0.0.1:57224 => /127.0.0.1:57211] FLUSH
11:39:50.649 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf753947a, /127.0.0.1:57224 => /127.0.0.1:57211] FLUSH
11:39:50.649 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.649 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf753947a, /127.0.0.1:57224 :> /127.0.0.1:57211] INACTIVE
11:39:50.649 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf753947a, /127.0.0.1:57224 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.649 [nioEventLoopGroup-541-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-541-1
11:39:50.650 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.653 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63b37277, /127.0.0.1:57225 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.654 [nioEventLoopGroup-532-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:50.655 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63b37277, /127.0.0.1:57225 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.655 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63b37277, /127.0.0.1:57225 => /127.0.0.1:57211] FLUSH
11:39:50.655 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63b37277, /127.0.0.1:57225 => /127.0.0.1:57211] FLUSH
11:39:50.655 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.655 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63b37277, /127.0.0.1:57225 :> /127.0.0.1:57211] INACTIVE
11:39:50.655 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63b37277, /127.0.0.1:57225 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.655 [nioEventLoopGroup-542-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-542-1
11:39:50.656 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.659 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x224e3b74, /127.0.0.1:57226 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:50.660 [nioEventLoopGroup-532-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:50.660 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x224e3b74, /127.0.0.1:57226 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.660 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x224e3b74, /127.0.0.1:57226 => /127.0.0.1:57211] FLUSH
11:39:50.661 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x224e3b74, /127.0.0.1:57226 => /127.0.0.1:57211] FLUSH
11:39:50.661 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.661 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x224e3b74, /127.0.0.1:57226 :> /127.0.0.1:57211] INACTIVE
11:39:50.661 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x224e3b74, /127.0.0.1:57226 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.661 [nioEventLoopGroup-543-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-543-1
11:39:50.662 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.665 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af69f8, /127.0.0.1:57227 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:50.666 [nioEventLoopGroup-532-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:50.666 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af69f8, /127.0.0.1:57227 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.667 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af69f8, /127.0.0.1:57227 => /127.0.0.1:57211] FLUSH
11:39:50.667 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af69f8, /127.0.0.1:57227 => /127.0.0.1:57211] FLUSH
11:39:50.667 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.667 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af69f8, /127.0.0.1:57227 :> /127.0.0.1:57211] INACTIVE
11:39:50.667 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb0af69f8, /127.0.0.1:57227 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.667 [nioEventLoopGroup-544-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-544-1
11:39:50.668 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:50.671 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf870ae92, /127.0.0.1:57228 => /127.0.0.1:57211] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:50.673 [nioEventLoopGroup-532-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:50.673 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf870ae92, /127.0.0.1:57228 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.673 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf870ae92, /127.0.0.1:57228 => /127.0.0.1:57211] FLUSH
11:39:50.673 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf870ae92, /127.0.0.1:57228 => /127.0.0.1:57211] FLUSH
11:39:50.673 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf870ae92, /127.0.0.1:57228 :> /127.0.0.1:57211] INACTIVE
11:39:50.673 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf870ae92, /127.0.0.1:57228 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.673 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.674 [nioEventLoopGroup-545-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-545-1
11:39:50.679 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 => /127.0.0.1:57211] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57211
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
11:39:50.680 [nioEventLoopGroup-532-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.680 [nioEventLoopGroup-532-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.681 [nioEventLoopGroup-532-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


11:39:50.682 [nioEventLoopGroup-532-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:50.682 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 => /127.0.0.1:57211] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:50.682 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 => /127.0.0.1:57211] FLUSH
11:39:50.685 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 => /127.0.0.1:57211] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57211
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
11:39:50.686 [nioEventLoopGroup-532-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.686 [nioEventLoopGroup-532-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:50.687 [nioEventLoopGroup-532-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


11:39:50.688 [nioEventLoopGroup-532-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57211" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:50.688 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 => /127.0.0.1:57211] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:50.688 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 => /127.0.0.1:57211] FLUSH
11:39:50.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:50.692 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7df2239, /127.0.0.1:57230 => /127.0.0.1:57211] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57211
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:50.692 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7df2239, /127.0.0.1:57230 => /127.0.0.1:57211] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:50.692 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7df2239, /127.0.0.1:57230 => /127.0.0.1:57211] FLUSH
11:39:50.692 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7df2239, /127.0.0.1:57230 => /127.0.0.1:57211] CLOSE()
11:39:50.694 [nioEventLoopGroup-532-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-2
11:39:50.694 [nioEventLoopGroup-532-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-1
11:39:50.694 [nioEventLoopGroup-532-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-3
11:39:50.694 [nioEventLoopGroup-532-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-4
11:39:50.694 [nioEventLoopGroup-532-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-5
11:39:50.694 [nioEventLoopGroup-532-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-8
11:39:50.693 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:50.694 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 :> /127.0.0.1:57211] INACTIVE
11:39:50.694 [nioEventLoopGroup-546-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-546-1
11:39:50.694 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd207bd05, /127.0.0.1:57229 :> /127.0.0.1:57211] UNREGISTERED
11:39:50.737 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc997c6f, /127.0.0.1:57210 :> /127.0.0.1:57194] FLUSH
11:39:50.737 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc997c6f, /127.0.0.1:57210 :> /127.0.0.1:57194] INACTIVE
11:39:50.737 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc997c6f, /127.0.0.1:57210 :> /127.0.0.1:57194] UNREGISTERED
11:39:50.738 [nioEventLoopGroup-516-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-8
11:39:50.759 [nioEventLoopGroup-500-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-6
11:39:51.049 [MockServer thread for port: 57231] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57231
11:39:51.050 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.054 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x037dbd3b, /127.0.0.1:57238 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:51.055 [nioEventLoopGroup-548-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:51.055 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x037dbd3b, /127.0.0.1:57238 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.055 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x037dbd3b, /127.0.0.1:57238 => /127.0.0.1:57231] FLUSH
11:39:51.056 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x037dbd3b, /127.0.0.1:57238 => /127.0.0.1:57231] FLUSH
11:39:51.056 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.056 [nioEventLoopGroup-549-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-549-1
11:39:51.057 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x037dbd3b, /127.0.0.1:57238 :> /127.0.0.1:57231] INACTIVE
11:39:51.057 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x037dbd3b, /127.0.0.1:57238 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.057 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.061 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x99331cb2, /127.0.0.1:57239 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:51.062 [nioEventLoopGroup-548-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:51.063 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x99331cb2, /127.0.0.1:57239 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.063 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x99331cb2, /127.0.0.1:57239 => /127.0.0.1:57231] FLUSH
11:39:51.063 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.063 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x99331cb2, /127.0.0.1:57239 => /127.0.0.1:57231] FLUSH
11:39:51.063 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x99331cb2, /127.0.0.1:57239 :> /127.0.0.1:57231] INACTIVE
11:39:51.063 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x99331cb2, /127.0.0.1:57239 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.063 [nioEventLoopGroup-550-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-550-1
11:39:51.064 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.067 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939dffc, /127.0.0.1:57240 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:51.068 [nioEventLoopGroup-548-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:51.069 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939dffc, /127.0.0.1:57240 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.069 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939dffc, /127.0.0.1:57240 => /127.0.0.1:57231] FLUSH
11:39:51.069 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939dffc, /127.0.0.1:57240 => /127.0.0.1:57231] FLUSH
11:39:51.070 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939dffc, /127.0.0.1:57240 :> /127.0.0.1:57231] INACTIVE
11:39:51.070 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939dffc, /127.0.0.1:57240 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.070 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.070 [nioEventLoopGroup-551-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-551-1
11:39:51.071 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.075 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48689667, /127.0.0.1:57241 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.076 [nioEventLoopGroup-548-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:51.076 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48689667, /127.0.0.1:57241 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.076 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48689667, /127.0.0.1:57241 => /127.0.0.1:57231] FLUSH
11:39:51.077 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48689667, /127.0.0.1:57241 => /127.0.0.1:57231] FLUSH
11:39:51.077 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.077 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48689667, /127.0.0.1:57241 :> /127.0.0.1:57231] INACTIVE
11:39:51.077 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48689667, /127.0.0.1:57241 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.077 [nioEventLoopGroup-552-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-552-1
11:39:51.078 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.081 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64aa3793, /127.0.0.1:57242 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:51.083 [nioEventLoopGroup-548-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:51.083 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64aa3793, /127.0.0.1:57242 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.083 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64aa3793, /127.0.0.1:57242 => /127.0.0.1:57231] FLUSH
11:39:51.083 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64aa3793, /127.0.0.1:57242 => /127.0.0.1:57231] FLUSH
11:39:51.083 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.083 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64aa3793, /127.0.0.1:57242 :> /127.0.0.1:57231] INACTIVE
11:39:51.084 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64aa3793, /127.0.0.1:57242 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.084 [nioEventLoopGroup-553-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-553-1
11:39:51.085 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.088 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e3747e2, /127.0.0.1:57243 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:51.090 [nioEventLoopGroup-548-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:51.090 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e3747e2, /127.0.0.1:57243 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.090 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e3747e2, /127.0.0.1:57243 => /127.0.0.1:57231] FLUSH
11:39:51.090 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.091 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e3747e2, /127.0.0.1:57243 => /127.0.0.1:57231] FLUSH
11:39:51.091 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e3747e2, /127.0.0.1:57243 :> /127.0.0.1:57231] INACTIVE
11:39:51.091 [nioEventLoopGroup-554-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-554-1
11:39:51.091 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e3747e2, /127.0.0.1:57243 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.092 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.095 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x979e214f, /127.0.0.1:57244 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:51.096 [nioEventLoopGroup-548-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:51.097 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x979e214f, /127.0.0.1:57244 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.097 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x979e214f, /127.0.0.1:57244 => /127.0.0.1:57231] FLUSH
11:39:51.097 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x979e214f, /127.0.0.1:57244 => /127.0.0.1:57231] FLUSH
11:39:51.097 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.097 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x979e214f, /127.0.0.1:57244 :> /127.0.0.1:57231] INACTIVE
11:39:51.097 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x979e214f, /127.0.0.1:57244 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.098 [nioEventLoopGroup-555-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-555-1
11:39:51.099 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.102 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x020d1bab, /127.0.0.1:57245 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.103 [nioEventLoopGroup-548-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:51.103 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x020d1bab, /127.0.0.1:57245 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.104 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x020d1bab, /127.0.0.1:57245 => /127.0.0.1:57231] FLUSH
11:39:51.104 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x020d1bab, /127.0.0.1:57245 => /127.0.0.1:57231] FLUSH
11:39:51.104 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.104 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x020d1bab, /127.0.0.1:57245 :> /127.0.0.1:57231] INACTIVE
11:39:51.104 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x020d1bab, /127.0.0.1:57245 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.104 [nioEventLoopGroup-556-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-556-1
11:39:51.105 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.108 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe03b9a94, /127.0.0.1:57246 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.109 [nioEventLoopGroup-548-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:51.109 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe03b9a94, /127.0.0.1:57246 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.110 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe03b9a94, /127.0.0.1:57246 => /127.0.0.1:57231] FLUSH
11:39:51.110 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe03b9a94, /127.0.0.1:57246 => /127.0.0.1:57231] FLUSH
11:39:51.110 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.110 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe03b9a94, /127.0.0.1:57246 :> /127.0.0.1:57231] INACTIVE
11:39:51.110 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe03b9a94, /127.0.0.1:57246 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.110 [nioEventLoopGroup-557-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-557-1
11:39:51.111 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.114 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed5864ad, /127.0.0.1:57247 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.115 [nioEventLoopGroup-548-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:51.115 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed5864ad, /127.0.0.1:57247 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.115 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed5864ad, /127.0.0.1:57247 => /127.0.0.1:57231] FLUSH
11:39:51.116 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.116 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed5864ad, /127.0.0.1:57247 => /127.0.0.1:57231] FLUSH
11:39:51.116 [nioEventLoopGroup-558-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-558-1
11:39:51.116 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed5864ad, /127.0.0.1:57247 :> /127.0.0.1:57231] INACTIVE
11:39:51.116 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed5864ad, /127.0.0.1:57247 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.138 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.140 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9df66ce, /127.0.0.1:57248 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.141 [nioEventLoopGroup-548-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:51.141 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9df66ce, /127.0.0.1:57248 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.142 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9df66ce, /127.0.0.1:57248 => /127.0.0.1:57231] FLUSH
11:39:51.142 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9df66ce, /127.0.0.1:57248 => /127.0.0.1:57231] FLUSH
11:39:51.142 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.142 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9df66ce, /127.0.0.1:57248 :> /127.0.0.1:57231] INACTIVE
11:39:51.142 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9df66ce, /127.0.0.1:57248 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.142 [nioEventLoopGroup-559-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-559-1
11:39:51.143 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.146 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9472f750, /127.0.0.1:57249 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:51.147 [nioEventLoopGroup-548-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:51.147 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9472f750, /127.0.0.1:57249 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.147 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9472f750, /127.0.0.1:57249 => /127.0.0.1:57231] FLUSH
11:39:51.148 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9472f750, /127.0.0.1:57249 => /127.0.0.1:57231] FLUSH
11:39:51.148 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.148 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9472f750, /127.0.0.1:57249 :> /127.0.0.1:57231] INACTIVE
11:39:51.148 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9472f750, /127.0.0.1:57249 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.148 [nioEventLoopGroup-560-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-560-1
11:39:51.149 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.151 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc0520a3, /127.0.0.1:57250 => /127.0.0.1:57231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:51.152 [nioEventLoopGroup-548-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:51.153 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc0520a3, /127.0.0.1:57250 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.153 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc0520a3, /127.0.0.1:57250 => /127.0.0.1:57231] FLUSH
11:39:51.153 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc0520a3, /127.0.0.1:57250 => /127.0.0.1:57231] FLUSH
11:39:51.153 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc0520a3, /127.0.0.1:57250 :> /127.0.0.1:57231] INACTIVE
11:39:51.153 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc0520a3, /127.0.0.1:57250 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.153 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.154 [nioEventLoopGroup-561-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-561-1
11:39:51.172 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87fd3fc7, /127.0.0.1:57251 => /127.0.0.1:57231] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Host: localhost:57231
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:51.172 [nioEventLoopGroup-548-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57231" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:51.173 [nioEventLoopGroup-548-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57231" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


11:39:51.173 [nioEventLoopGroup-548-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57231" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:51.173 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87fd3fc7, /127.0.0.1:57251 => /127.0.0.1:57231] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:51.174 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87fd3fc7, /127.0.0.1:57251 => /127.0.0.1:57231] FLUSH
11:39:51.179 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0702aa67, /127.0.0.1:57252 => /127.0.0.1:57231] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Host: localhost:57231
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:51.180 [nioEventLoopGroup-548-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57231" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:51.180 [nioEventLoopGroup-548-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57231" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


11:39:51.180 [nioEventLoopGroup-548-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57231" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:51.181 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0702aa67, /127.0.0.1:57252 => /127.0.0.1:57231] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:51.181 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0702aa67, /127.0.0.1:57252 => /127.0.0.1:57231] FLUSH
11:39:51.182 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:51.185 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ba3e9a5, /127.0.0.1:57253 => /127.0.0.1:57231] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57231
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:51.185 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ba3e9a5, /127.0.0.1:57253 => /127.0.0.1:57231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.185 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ba3e9a5, /127.0.0.1:57253 => /127.0.0.1:57231] FLUSH
11:39:51.185 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ba3e9a5, /127.0.0.1:57253 => /127.0.0.1:57231] CLOSE()
11:39:51.185 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.186 [nioEventLoopGroup-548-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-1
11:39:51.186 [nioEventLoopGroup-548-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-3
11:39:51.186 [nioEventLoopGroup-548-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-2
11:39:51.187 [nioEventLoopGroup-548-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-4
11:39:51.187 [nioEventLoopGroup-548-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-5
11:39:51.187 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87fd3fc7, /127.0.0.1:57251 :> /127.0.0.1:57231] INACTIVE
11:39:51.187 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0702aa67, /127.0.0.1:57252 :> /127.0.0.1:57231] INACTIVE
11:39:51.187 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87fd3fc7, /127.0.0.1:57251 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.187 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0702aa67, /127.0.0.1:57252 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.187 [nioEventLoopGroup-562-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-562-1
11:39:51.197 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7df2239, /127.0.0.1:57230 :> /127.0.0.1:57211] FLUSH
11:39:51.197 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7df2239, /127.0.0.1:57230 :> /127.0.0.1:57211] INACTIVE
11:39:51.197 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7df2239, /127.0.0.1:57230 :> /127.0.0.1:57211] UNREGISTERED
11:39:51.197 [nioEventLoopGroup-532-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-7
11:39:51.239 [nioEventLoopGroup-516-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-7
11:39:51.239 [nioEventLoopGroup-516-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-6
11:39:51.543 [MockServer thread for port: 57254] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57254
11:39:51.543 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.548 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47e02519, /127.0.0.1:57255 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:51.549 [nioEventLoopGroup-564-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:51.549 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47e02519, /127.0.0.1:57255 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.549 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47e02519, /127.0.0.1:57255 => /127.0.0.1:57254] FLUSH
11:39:51.550 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47e02519, /127.0.0.1:57255 => /127.0.0.1:57254] FLUSH
11:39:51.550 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47e02519, /127.0.0.1:57255 :> /127.0.0.1:57254] INACTIVE
11:39:51.550 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47e02519, /127.0.0.1:57255 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.550 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.550 [nioEventLoopGroup-565-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-565-1
11:39:51.551 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.554 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0973c7c1, /127.0.0.1:57256 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:51.556 [nioEventLoopGroup-564-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:51.556 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0973c7c1, /127.0.0.1:57256 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.556 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0973c7c1, /127.0.0.1:57256 => /127.0.0.1:57254] FLUSH
11:39:51.556 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0973c7c1, /127.0.0.1:57256 => /127.0.0.1:57254] FLUSH
11:39:51.557 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0973c7c1, /127.0.0.1:57256 :> /127.0.0.1:57254] INACTIVE
11:39:51.557 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0973c7c1, /127.0.0.1:57256 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.556 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.557 [nioEventLoopGroup-566-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-566-1
11:39:51.558 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.561 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26beb52a, /127.0.0.1:57257 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:51.562 [nioEventLoopGroup-564-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:51.562 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26beb52a, /127.0.0.1:57257 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.562 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26beb52a, /127.0.0.1:57257 => /127.0.0.1:57254] FLUSH
11:39:51.563 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26beb52a, /127.0.0.1:57257 => /127.0.0.1:57254] FLUSH
11:39:51.563 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26beb52a, /127.0.0.1:57257 :> /127.0.0.1:57254] INACTIVE
11:39:51.563 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26beb52a, /127.0.0.1:57257 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.563 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.563 [nioEventLoopGroup-567-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-567-1
11:39:51.564 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.567 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dee2626, /127.0.0.1:57258 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.568 [nioEventLoopGroup-564-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:51.568 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dee2626, /127.0.0.1:57258 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.568 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dee2626, /127.0.0.1:57258 => /127.0.0.1:57254] FLUSH
11:39:51.569 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dee2626, /127.0.0.1:57258 => /127.0.0.1:57254] FLUSH
11:39:51.569 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dee2626, /127.0.0.1:57258 :> /127.0.0.1:57254] INACTIVE
11:39:51.569 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.569 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dee2626, /127.0.0.1:57258 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.569 [nioEventLoopGroup-568-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-568-1
11:39:51.570 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.573 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8716feca, /127.0.0.1:57259 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:51.574 [nioEventLoopGroup-564-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:51.574 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8716feca, /127.0.0.1:57259 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.574 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8716feca, /127.0.0.1:57259 => /127.0.0.1:57254] FLUSH
11:39:51.575 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8716feca, /127.0.0.1:57259 => /127.0.0.1:57254] FLUSH
11:39:51.575 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.575 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8716feca, /127.0.0.1:57259 :> /127.0.0.1:57254] INACTIVE
11:39:51.575 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8716feca, /127.0.0.1:57259 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.575 [nioEventLoopGroup-569-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-569-1
11:39:51.576 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.579 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041190bb, /127.0.0.1:57260 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:51.580 [nioEventLoopGroup-564-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:51.580 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041190bb, /127.0.0.1:57260 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.580 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041190bb, /127.0.0.1:57260 => /127.0.0.1:57254] FLUSH
11:39:51.581 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041190bb, /127.0.0.1:57260 => /127.0.0.1:57254] FLUSH
11:39:51.581 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041190bb, /127.0.0.1:57260 :> /127.0.0.1:57254] INACTIVE
11:39:51.581 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041190bb, /127.0.0.1:57260 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.581 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.581 [nioEventLoopGroup-570-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-570-1
11:39:51.583 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.586 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbaf3608, /127.0.0.1:57261 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:51.586 [nioEventLoopGroup-564-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:51.587 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbaf3608, /127.0.0.1:57261 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.587 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbaf3608, /127.0.0.1:57261 => /127.0.0.1:57254] FLUSH
11:39:51.587 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbaf3608, /127.0.0.1:57261 => /127.0.0.1:57254] FLUSH
11:39:51.587 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbaf3608, /127.0.0.1:57261 :> /127.0.0.1:57254] INACTIVE
11:39:51.587 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbaf3608, /127.0.0.1:57261 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.587 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.588 [nioEventLoopGroup-571-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-571-1
11:39:51.589 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.591 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x699f697f, /127.0.0.1:57262 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.592 [nioEventLoopGroup-564-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:51.593 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x699f697f, /127.0.0.1:57262 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.593 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x699f697f, /127.0.0.1:57262 => /127.0.0.1:57254] FLUSH
11:39:51.593 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x699f697f, /127.0.0.1:57262 => /127.0.0.1:57254] FLUSH
11:39:51.593 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.593 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x699f697f, /127.0.0.1:57262 :> /127.0.0.1:57254] INACTIVE
11:39:51.593 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x699f697f, /127.0.0.1:57262 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.594 [nioEventLoopGroup-572-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-572-1
11:39:51.595 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.598 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6960fa5, /127.0.0.1:57263 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.598 [nioEventLoopGroup-564-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:51.599 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6960fa5, /127.0.0.1:57263 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.599 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6960fa5, /127.0.0.1:57263 => /127.0.0.1:57254] FLUSH
11:39:51.599 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6960fa5, /127.0.0.1:57263 => /127.0.0.1:57254] FLUSH
11:39:51.599 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6960fa5, /127.0.0.1:57263 :> /127.0.0.1:57254] INACTIVE
11:39:51.599 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe6960fa5, /127.0.0.1:57263 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.599 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.600 [nioEventLoopGroup-573-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-573-1
11:39:51.600 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.603 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f74fbb3, /127.0.0.1:57264 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.604 [nioEventLoopGroup-564-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:51.604 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f74fbb3, /127.0.0.1:57264 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.604 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f74fbb3, /127.0.0.1:57264 => /127.0.0.1:57254] FLUSH
11:39:51.605 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f74fbb3, /127.0.0.1:57264 => /127.0.0.1:57254] FLUSH
11:39:51.605 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f74fbb3, /127.0.0.1:57264 :> /127.0.0.1:57254] INACTIVE
11:39:51.605 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.605 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f74fbb3, /127.0.0.1:57264 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.605 [nioEventLoopGroup-574-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-574-1
11:39:51.606 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.609 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc816e42, /127.0.0.1:57265 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:51.610 [nioEventLoopGroup-564-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:51.610 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc816e42, /127.0.0.1:57265 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.610 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc816e42, /127.0.0.1:57265 => /127.0.0.1:57254] FLUSH
11:39:51.611 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc816e42, /127.0.0.1:57265 => /127.0.0.1:57254] FLUSH
11:39:51.611 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc816e42, /127.0.0.1:57265 :> /127.0.0.1:57254] INACTIVE
11:39:51.611 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc816e42, /127.0.0.1:57265 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.611 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.611 [nioEventLoopGroup-575-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-575-1
11:39:51.612 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.615 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba3e79b, /127.0.0.1:57266 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:51.616 [nioEventLoopGroup-564-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:51.616 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba3e79b, /127.0.0.1:57266 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.616 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba3e79b, /127.0.0.1:57266 => /127.0.0.1:57254] FLUSH
11:39:51.617 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba3e79b, /127.0.0.1:57266 => /127.0.0.1:57254] FLUSH
11:39:51.617 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba3e79b, /127.0.0.1:57266 :> /127.0.0.1:57254] INACTIVE
11:39:51.617 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba3e79b, /127.0.0.1:57266 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.617 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.617 [nioEventLoopGroup-576-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-576-1
11:39:51.618 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:51.621 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe883dba, /127.0.0.1:57267 => /127.0.0.1:57254] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:51.622 [nioEventLoopGroup-564-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:51.623 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe883dba, /127.0.0.1:57267 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.623 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe883dba, /127.0.0.1:57267 => /127.0.0.1:57254] FLUSH
11:39:51.623 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe883dba, /127.0.0.1:57267 => /127.0.0.1:57254] FLUSH
11:39:51.623 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.623 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe883dba, /127.0.0.1:57267 :> /127.0.0.1:57254] INACTIVE
11:39:51.623 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe883dba, /127.0.0.1:57267 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.623 [nioEventLoopGroup-577-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-577-1
11:39:51.627 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 => /127.0.0.1:57254] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57254
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
11:39:51.628 [nioEventLoopGroup-564-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57254" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:51.628 [nioEventLoopGroup-564-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57254" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


11:39:51.629 [nioEventLoopGroup-564-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57254" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:51.630 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 => /127.0.0.1:57254] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:51.630 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 => /127.0.0.1:57254] FLUSH
11:39:51.633 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 => /127.0.0.1:57254] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57254
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
11:39:51.634 [nioEventLoopGroup-564-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57254" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:51.634 [nioEventLoopGroup-564-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57254" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


11:39:51.635 [nioEventLoopGroup-564-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57254" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:51.635 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 => /127.0.0.1:57254] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
11:39:51.635 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 => /127.0.0.1:57254] FLUSH
11:39:51.637 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:51.640 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x591420cc, /127.0.0.1:57269 => /127.0.0.1:57254] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57254
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:51.640 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x591420cc, /127.0.0.1:57269 => /127.0.0.1:57254] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:51.640 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x591420cc, /127.0.0.1:57269 => /127.0.0.1:57254] FLUSH
11:39:51.641 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x591420cc, /127.0.0.1:57269 => /127.0.0.1:57254] CLOSE()
11:39:51.642 [nioEventLoopGroup-564-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-1
11:39:51.642 [nioEventLoopGroup-564-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-2
11:39:51.642 [nioEventLoopGroup-564-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-3
11:39:51.642 [nioEventLoopGroup-564-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-4
11:39:51.642 [nioEventLoopGroup-564-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-5
11:39:51.642 [nioEventLoopGroup-564-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-8
11:39:51.642 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 :> /127.0.0.1:57254] INACTIVE
11:39:51.642 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2ebf0685, /127.0.0.1:57268 :> /127.0.0.1:57254] UNREGISTERED
11:39:51.641 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:51.643 [nioEventLoopGroup-578-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-578-1
11:39:51.687 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ba3e9a5, /127.0.0.1:57253 :> /127.0.0.1:57231] FLUSH
11:39:51.687 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ba3e9a5, /127.0.0.1:57253 :> /127.0.0.1:57231] INACTIVE
11:39:51.687 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ba3e9a5, /127.0.0.1:57253 :> /127.0.0.1:57231] UNREGISTERED
11:39:51.687 [nioEventLoopGroup-548-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-8
11:39:51.696 [nioEventLoopGroup-532-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-6
11:39:52.002 [MockServer thread for port: 57270] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57270
11:39:52.003 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.006 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c23a43, /127.0.0.1:57271 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:52.007 [nioEventLoopGroup-580-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:52.007 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c23a43, /127.0.0.1:57271 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.007 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c23a43, /127.0.0.1:57271 => /127.0.0.1:57270] FLUSH
11:39:52.008 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c23a43, /127.0.0.1:57271 => /127.0.0.1:57270] FLUSH
11:39:52.008 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.008 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c23a43, /127.0.0.1:57271 :> /127.0.0.1:57270] INACTIVE
11:39:52.008 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c23a43, /127.0.0.1:57271 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.008 [nioEventLoopGroup-581-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-581-1
11:39:52.009 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.012 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeded8ece, /127.0.0.1:57272 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:52.013 [nioEventLoopGroup-580-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:52.013 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeded8ece, /127.0.0.1:57272 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.013 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeded8ece, /127.0.0.1:57272 => /127.0.0.1:57270] FLUSH
11:39:52.014 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeded8ece, /127.0.0.1:57272 => /127.0.0.1:57270] FLUSH
11:39:52.014 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.014 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeded8ece, /127.0.0.1:57272 :> /127.0.0.1:57270] INACTIVE
11:39:52.014 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeded8ece, /127.0.0.1:57272 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.014 [nioEventLoopGroup-582-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-582-1
11:39:52.015 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.018 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf397ac01, /127.0.0.1:57273 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:52.019 [nioEventLoopGroup-580-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:52.019 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf397ac01, /127.0.0.1:57273 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.019 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf397ac01, /127.0.0.1:57273 => /127.0.0.1:57270] FLUSH
11:39:52.020 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf397ac01, /127.0.0.1:57273 => /127.0.0.1:57270] FLUSH
11:39:52.020 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.020 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf397ac01, /127.0.0.1:57273 :> /127.0.0.1:57270] INACTIVE
11:39:52.020 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf397ac01, /127.0.0.1:57273 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.020 [nioEventLoopGroup-583-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-583-1
11:39:52.021 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.023 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x046e06b4, /127.0.0.1:57274 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.024 [nioEventLoopGroup-580-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:52.025 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x046e06b4, /127.0.0.1:57274 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.025 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x046e06b4, /127.0.0.1:57274 => /127.0.0.1:57270] FLUSH
11:39:52.025 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x046e06b4, /127.0.0.1:57274 => /127.0.0.1:57270] FLUSH
11:39:52.025 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.025 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x046e06b4, /127.0.0.1:57274 :> /127.0.0.1:57270] INACTIVE
11:39:52.025 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x046e06b4, /127.0.0.1:57274 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.025 [nioEventLoopGroup-584-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-584-1
11:39:52.026 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.030 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8d371f1, /127.0.0.1:57275 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:52.031 [nioEventLoopGroup-580-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:52.031 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8d371f1, /127.0.0.1:57275 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.031 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8d371f1, /127.0.0.1:57275 => /127.0.0.1:57270] FLUSH
11:39:52.032 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8d371f1, /127.0.0.1:57275 => /127.0.0.1:57270] FLUSH
11:39:52.032 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.032 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8d371f1, /127.0.0.1:57275 :> /127.0.0.1:57270] INACTIVE
11:39:52.032 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8d371f1, /127.0.0.1:57275 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.032 [nioEventLoopGroup-585-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-585-1
11:39:52.033 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.036 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab11d0ec, /127.0.0.1:57276 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:52.037 [nioEventLoopGroup-580-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:52.038 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab11d0ec, /127.0.0.1:57276 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.038 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab11d0ec, /127.0.0.1:57276 => /127.0.0.1:57270] FLUSH
11:39:52.038 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab11d0ec, /127.0.0.1:57276 => /127.0.0.1:57270] FLUSH
11:39:52.038 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab11d0ec, /127.0.0.1:57276 :> /127.0.0.1:57270] INACTIVE
11:39:52.038 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab11d0ec, /127.0.0.1:57276 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.038 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.039 [nioEventLoopGroup-586-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-586-1
11:39:52.039 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.042 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e6bcc3d, /127.0.0.1:57277 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:52.043 [nioEventLoopGroup-580-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:52.044 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e6bcc3d, /127.0.0.1:57277 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.044 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e6bcc3d, /127.0.0.1:57277 => /127.0.0.1:57270] FLUSH
11:39:52.044 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e6bcc3d, /127.0.0.1:57277 => /127.0.0.1:57270] FLUSH
11:39:52.044 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e6bcc3d, /127.0.0.1:57277 :> /127.0.0.1:57270] INACTIVE
11:39:52.044 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.044 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e6bcc3d, /127.0.0.1:57277 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.045 [nioEventLoopGroup-587-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-587-1
11:39:52.045 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.049 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09066c1, /127.0.0.1:57278 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.050 [nioEventLoopGroup-580-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:52.050 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09066c1, /127.0.0.1:57278 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.051 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09066c1, /127.0.0.1:57278 => /127.0.0.1:57270] FLUSH
11:39:52.051 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09066c1, /127.0.0.1:57278 => /127.0.0.1:57270] FLUSH
11:39:52.051 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09066c1, /127.0.0.1:57278 :> /127.0.0.1:57270] INACTIVE
11:39:52.051 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09066c1, /127.0.0.1:57278 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.051 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.051 [nioEventLoopGroup-588-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-588-1
11:39:52.052 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.055 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x634fe8d2, /127.0.0.1:57279 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.056 [nioEventLoopGroup-580-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:52.056 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x634fe8d2, /127.0.0.1:57279 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.056 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x634fe8d2, /127.0.0.1:57279 => /127.0.0.1:57270] FLUSH
11:39:52.056 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x634fe8d2, /127.0.0.1:57279 => /127.0.0.1:57270] FLUSH
11:39:52.057 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x634fe8d2, /127.0.0.1:57279 :> /127.0.0.1:57270] INACTIVE
11:39:52.056 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.057 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x634fe8d2, /127.0.0.1:57279 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.057 [nioEventLoopGroup-589-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-589-1
11:39:52.058 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.061 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48dc5cac, /127.0.0.1:57280 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.061 [nioEventLoopGroup-580-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:52.062 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48dc5cac, /127.0.0.1:57280 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.062 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48dc5cac, /127.0.0.1:57280 => /127.0.0.1:57270] FLUSH
11:39:52.062 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48dc5cac, /127.0.0.1:57280 => /127.0.0.1:57270] FLUSH
11:39:52.062 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48dc5cac, /127.0.0.1:57280 :> /127.0.0.1:57270] INACTIVE
11:39:52.062 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x48dc5cac, /127.0.0.1:57280 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.062 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.062 [nioEventLoopGroup-590-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-590-1
11:39:52.063 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.066 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6854d542, /127.0.0.1:57281 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.067 [nioEventLoopGroup-580-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:52.067 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6854d542, /127.0.0.1:57281 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.067 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6854d542, /127.0.0.1:57281 => /127.0.0.1:57270] FLUSH
11:39:52.068 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6854d542, /127.0.0.1:57281 => /127.0.0.1:57270] FLUSH
11:39:52.068 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.068 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6854d542, /127.0.0.1:57281 :> /127.0.0.1:57270] INACTIVE
11:39:52.068 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6854d542, /127.0.0.1:57281 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.068 [nioEventLoopGroup-591-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-591-1
11:39:52.069 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.072 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d4580d2, /127.0.0.1:57282 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:52.073 [nioEventLoopGroup-580-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:52.073 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d4580d2, /127.0.0.1:57282 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.073 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d4580d2, /127.0.0.1:57282 => /127.0.0.1:57270] FLUSH
11:39:52.074 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d4580d2, /127.0.0.1:57282 => /127.0.0.1:57270] FLUSH
11:39:52.074 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.074 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d4580d2, /127.0.0.1:57282 :> /127.0.0.1:57270] INACTIVE
11:39:52.074 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d4580d2, /127.0.0.1:57282 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.074 [nioEventLoopGroup-592-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-592-1
11:39:52.075 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.078 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64e52aeb, /127.0.0.1:57283 => /127.0.0.1:57270] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:52.079 [nioEventLoopGroup-580-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:52.079 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64e52aeb, /127.0.0.1:57283 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.079 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64e52aeb, /127.0.0.1:57283 => /127.0.0.1:57270] FLUSH
11:39:52.080 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64e52aeb, /127.0.0.1:57283 => /127.0.0.1:57270] FLUSH
11:39:52.080 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.080 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64e52aeb, /127.0.0.1:57283 :> /127.0.0.1:57270] INACTIVE
11:39:52.080 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64e52aeb, /127.0.0.1:57283 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.080 [nioEventLoopGroup-593-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-593-1
11:39:52.099 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 => /127.0.0.1:57270] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:57270
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:52.100 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.100 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.100 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:52.100 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.101 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.101 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.101 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.101 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.101 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.102 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.102 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.102 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


11:39:52.103 [nioEventLoopGroup-580-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 401,
	  "headers" : [ {
	    "name" : "WWW-Authenticate",
	    "values" : [ "Basic realm=\"Test Realm\"" ]
	  } ]
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:52.103 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Test Realm"
Content-Length: 0
Connection: keep-alive, 0B
11:39:52.103 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 => /127.0.0.1:57270] FLUSH
11:39:52.123 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 => /127.0.0.1:57270] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:57270
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
11:39:52.124 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.125 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.125 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:52.126 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.126 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.126 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.127 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.127 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.127 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.128 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.128 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.129 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.129 [nioEventLoopGroup-580-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


11:39:52.130 [nioEventLoopGroup-580-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:52.130 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 => /127.0.0.1:57270] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:52.130 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 => /127.0.0.1:57270] FLUSH
11:39:52.145 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x591420cc, /127.0.0.1:57269 :> /127.0.0.1:57254] FLUSH
11:39:52.146 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x591420cc, /127.0.0.1:57269 :> /127.0.0.1:57254] INACTIVE
11:39:52.146 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x591420cc, /127.0.0.1:57269 :> /127.0.0.1:57254] UNREGISTERED
11:39:52.146 [nioEventLoopGroup-564-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-7
11:39:52.146 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 => /127.0.0.1:57270] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:57270
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:52.147 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.147 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.147 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:52.148 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.148 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.148 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.148 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.148 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.148 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.149 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.149 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.149 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


11:39:52.150 [nioEventLoopGroup-580-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 401,
	  "headers" : [ {
	    "name" : "WWW-Authenticate",
	    "values" : [ "Basic realm=\"Test Realm\"" ]
	  } ]
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:52.150 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Test Realm"
Content-Length: 0
Connection: keep-alive, 0B
11:39:52.150 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 => /127.0.0.1:57270] FLUSH
11:39:52.152 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 => /127.0.0.1:57270] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:57270
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
11:39:52.153 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.153 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.154 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:52.154 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.154 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.155 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.155 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.155 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.155 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.156 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.156 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.157 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.157 [nioEventLoopGroup-580-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


11:39:52.158 [nioEventLoopGroup-580-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57270" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:52.158 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 => /127.0.0.1:57270] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:52.158 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 => /127.0.0.1:57270] FLUSH
11:39:52.160 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:52.162 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb451a5bb, /127.0.0.1:57286 => /127.0.0.1:57270] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57270
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:52.163 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb451a5bb, /127.0.0.1:57286 => /127.0.0.1:57270] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.163 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb451a5bb, /127.0.0.1:57286 => /127.0.0.1:57270] FLUSH
11:39:52.163 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb451a5bb, /127.0.0.1:57286 => /127.0.0.1:57270] CLOSE()
11:39:52.164 [nioEventLoopGroup-580-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-2
11:39:52.164 [nioEventLoopGroup-580-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-1
11:39:52.164 [nioEventLoopGroup-580-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-3
11:39:52.164 [nioEventLoopGroup-580-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-4
11:39:52.164 [nioEventLoopGroup-580-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-5
11:39:52.164 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 :> /127.0.0.1:57270] INACTIVE
11:39:52.164 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2bfddd1, /127.0.0.1:57284 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.164 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 :> /127.0.0.1:57270] INACTIVE
11:39:52.164 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9bcd959, /127.0.0.1:57285 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.165 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.165 [nioEventLoopGroup-594-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-594-1
11:39:52.189 [nioEventLoopGroup-548-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-6
11:39:52.189 [nioEventLoopGroup-548-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-7
11:39:52.525 [MockServer thread for port: 57287] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57287
11:39:52.526 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.529 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x068fe430, /127.0.0.1:57288 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:52.529 [nioEventLoopGroup-596-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:52.530 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x068fe430, /127.0.0.1:57288 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.530 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x068fe430, /127.0.0.1:57288 => /127.0.0.1:57287] FLUSH
11:39:52.530 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x068fe430, /127.0.0.1:57288 => /127.0.0.1:57287] FLUSH
11:39:52.530 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x068fe430, /127.0.0.1:57288 :> /127.0.0.1:57287] INACTIVE
11:39:52.530 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.530 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x068fe430, /127.0.0.1:57288 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.531 [nioEventLoopGroup-597-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-597-1
11:39:52.532 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.535 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27714f4d, /127.0.0.1:57289 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:52.536 [nioEventLoopGroup-596-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:52.536 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27714f4d, /127.0.0.1:57289 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.536 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27714f4d, /127.0.0.1:57289 => /127.0.0.1:57287] FLUSH
11:39:52.537 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27714f4d, /127.0.0.1:57289 => /127.0.0.1:57287] FLUSH
11:39:52.537 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.537 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27714f4d, /127.0.0.1:57289 :> /127.0.0.1:57287] INACTIVE
11:39:52.537 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27714f4d, /127.0.0.1:57289 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.537 [nioEventLoopGroup-598-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-598-1
11:39:52.538 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.541 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa009a5dc, /127.0.0.1:57290 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:52.543 [nioEventLoopGroup-596-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:52.543 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa009a5dc, /127.0.0.1:57290 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.543 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa009a5dc, /127.0.0.1:57290 => /127.0.0.1:57287] FLUSH
11:39:52.543 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa009a5dc, /127.0.0.1:57290 => /127.0.0.1:57287] FLUSH
11:39:52.543 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.544 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa009a5dc, /127.0.0.1:57290 :> /127.0.0.1:57287] INACTIVE
11:39:52.544 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa009a5dc, /127.0.0.1:57290 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.544 [nioEventLoopGroup-599-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-599-1
11:39:52.545 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.548 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55e5a5f0, /127.0.0.1:57291 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.549 [nioEventLoopGroup-596-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:52.549 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55e5a5f0, /127.0.0.1:57291 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.549 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55e5a5f0, /127.0.0.1:57291 => /127.0.0.1:57287] FLUSH
11:39:52.550 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55e5a5f0, /127.0.0.1:57291 => /127.0.0.1:57287] FLUSH
11:39:52.550 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.550 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55e5a5f0, /127.0.0.1:57291 :> /127.0.0.1:57287] INACTIVE
11:39:52.550 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x55e5a5f0, /127.0.0.1:57291 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.550 [nioEventLoopGroup-600-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-600-1
11:39:52.551 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.554 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdfb80f0, /127.0.0.1:57292 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:52.555 [nioEventLoopGroup-596-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:52.555 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdfb80f0, /127.0.0.1:57292 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.555 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdfb80f0, /127.0.0.1:57292 => /127.0.0.1:57287] FLUSH
11:39:52.556 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdfb80f0, /127.0.0.1:57292 => /127.0.0.1:57287] FLUSH
11:39:52.556 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.556 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdfb80f0, /127.0.0.1:57292 :> /127.0.0.1:57287] INACTIVE
11:39:52.556 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdfb80f0, /127.0.0.1:57292 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.556 [nioEventLoopGroup-601-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-601-1
11:39:52.557 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.560 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaca85d56, /127.0.0.1:57293 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:52.561 [nioEventLoopGroup-596-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:52.561 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaca85d56, /127.0.0.1:57293 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.561 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaca85d56, /127.0.0.1:57293 => /127.0.0.1:57287] FLUSH
11:39:52.562 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaca85d56, /127.0.0.1:57293 => /127.0.0.1:57287] FLUSH
11:39:52.562 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.562 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaca85d56, /127.0.0.1:57293 :> /127.0.0.1:57287] INACTIVE
11:39:52.562 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaca85d56, /127.0.0.1:57293 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.562 [nioEventLoopGroup-602-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-602-1
11:39:52.563 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.566 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05f83e98, /127.0.0.1:57294 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:52.567 [nioEventLoopGroup-596-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:52.567 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05f83e98, /127.0.0.1:57294 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.567 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05f83e98, /127.0.0.1:57294 => /127.0.0.1:57287] FLUSH
11:39:52.568 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05f83e98, /127.0.0.1:57294 => /127.0.0.1:57287] FLUSH
11:39:52.568 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.568 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05f83e98, /127.0.0.1:57294 :> /127.0.0.1:57287] INACTIVE
11:39:52.568 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05f83e98, /127.0.0.1:57294 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.568 [nioEventLoopGroup-603-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-603-1
11:39:52.569 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.572 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84cf1a95, /127.0.0.1:57295 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.572 [nioEventLoopGroup-596-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:52.573 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84cf1a95, /127.0.0.1:57295 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.573 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84cf1a95, /127.0.0.1:57295 => /127.0.0.1:57287] FLUSH
11:39:52.573 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84cf1a95, /127.0.0.1:57295 => /127.0.0.1:57287] FLUSH
11:39:52.573 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.573 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84cf1a95, /127.0.0.1:57295 :> /127.0.0.1:57287] INACTIVE
11:39:52.573 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84cf1a95, /127.0.0.1:57295 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.573 [nioEventLoopGroup-604-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-604-1
11:39:52.574 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.577 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe794f637, /127.0.0.1:57296 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.578 [nioEventLoopGroup-596-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:52.578 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe794f637, /127.0.0.1:57296 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.578 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe794f637, /127.0.0.1:57296 => /127.0.0.1:57287] FLUSH
11:39:52.579 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.579 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe794f637, /127.0.0.1:57296 => /127.0.0.1:57287] FLUSH
11:39:52.579 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe794f637, /127.0.0.1:57296 :> /127.0.0.1:57287] INACTIVE
11:39:52.579 [nioEventLoopGroup-605-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-605-1
11:39:52.579 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe794f637, /127.0.0.1:57296 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.580 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.583 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd447df28, /127.0.0.1:57297 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.583 [nioEventLoopGroup-596-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:52.584 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd447df28, /127.0.0.1:57297 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.584 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd447df28, /127.0.0.1:57297 => /127.0.0.1:57287] FLUSH
11:39:52.584 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd447df28, /127.0.0.1:57297 => /127.0.0.1:57287] FLUSH
11:39:52.584 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.584 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd447df28, /127.0.0.1:57297 :> /127.0.0.1:57287] INACTIVE
11:39:52.584 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd447df28, /127.0.0.1:57297 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.584 [nioEventLoopGroup-606-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-606-1
11:39:52.585 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.588 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd588ed0, /127.0.0.1:57298 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:52.588 [nioEventLoopGroup-596-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:52.589 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd588ed0, /127.0.0.1:57298 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.589 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd588ed0, /127.0.0.1:57298 => /127.0.0.1:57287] FLUSH
11:39:52.589 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd588ed0, /127.0.0.1:57298 => /127.0.0.1:57287] FLUSH
11:39:52.589 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd588ed0, /127.0.0.1:57298 :> /127.0.0.1:57287] INACTIVE
11:39:52.589 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd588ed0, /127.0.0.1:57298 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.589 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.590 [nioEventLoopGroup-607-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-607-1
11:39:52.591 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.595 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80a302f2, /127.0.0.1:57299 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:52.596 [nioEventLoopGroup-596-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:52.596 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80a302f2, /127.0.0.1:57299 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.596 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80a302f2, /127.0.0.1:57299 => /127.0.0.1:57287] FLUSH
11:39:52.596 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80a302f2, /127.0.0.1:57299 => /127.0.0.1:57287] FLUSH
11:39:52.596 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80a302f2, /127.0.0.1:57299 :> /127.0.0.1:57287] INACTIVE
11:39:52.596 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80a302f2, /127.0.0.1:57299 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.596 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.597 [nioEventLoopGroup-608-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-608-1
11:39:52.598 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:52.600 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26d772a7, /127.0.0.1:57300 => /127.0.0.1:57287] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:52.601 [nioEventLoopGroup-596-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:52.602 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26d772a7, /127.0.0.1:57300 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.602 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26d772a7, /127.0.0.1:57300 => /127.0.0.1:57287] FLUSH
11:39:52.602 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26d772a7, /127.0.0.1:57300 => /127.0.0.1:57287] FLUSH
11:39:52.602 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26d772a7, /127.0.0.1:57300 :> /127.0.0.1:57287] INACTIVE
11:39:52.602 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26d772a7, /127.0.0.1:57300 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.602 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.602 [nioEventLoopGroup-609-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-609-1
11:39:52.606 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6f44a83, /127.0.0.1:57301 => /127.0.0.1:57287] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57287
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:52.606 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.606 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.607 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:52.607 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.607 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.608 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.608 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.608 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.609 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.609 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.609 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.610 [nioEventLoopGroup-596-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


11:39:52.611 [nioEventLoopGroup-596-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 401,
	  "headers" : [ {
	    "name" : "WWW-Authenticate",
	    "values" : [ "Basic realm=\"Test Realm\"" ]
	  } ]
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:52.611 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6f44a83, /127.0.0.1:57301 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Test Realm"
Content-Length: 0
Connection: keep-alive, 0B
11:39:52.611 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6f44a83, /127.0.0.1:57301 => /127.0.0.1:57287] FLUSH
11:39:52.618 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6f44a83, /127.0.0.1:57301 => /127.0.0.1:57287] FLUSH
11:39:52.618 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6f44a83, /127.0.0.1:57301 :> /127.0.0.1:57287] INACTIVE
11:39:52.618 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6f44a83, /127.0.0.1:57301 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.619 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 => /127.0.0.1:57287] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57287
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
11:39:52.620 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.620 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.620 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:52.621 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.621 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.621 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.622 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.622 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.622 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.622 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.623 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.623 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.624 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


11:39:52.624 [nioEventLoopGroup-596-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:52.625 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 => /127.0.0.1:57287] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:52.625 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 => /127.0.0.1:57287] FLUSH
11:39:52.630 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 => /127.0.0.1:57287] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57287
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
11:39:52.631 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.631 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.632 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:52.632 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.633 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.633 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.634 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.634 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.635 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.635 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.636 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.637 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:52.637 [nioEventLoopGroup-596-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


11:39:52.638 [nioEventLoopGroup-596-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57287" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:52.638 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 => /127.0.0.1:57287] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
11:39:52.639 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 => /127.0.0.1:57287] FLUSH
11:39:52.639 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:52.643 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b89d99, /127.0.0.1:57303 => /127.0.0.1:57287] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57287
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:52.643 [nioEventLoopGroup-564-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-6
11:39:52.643 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b89d99, /127.0.0.1:57303 => /127.0.0.1:57287] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:52.643 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b89d99, /127.0.0.1:57303 => /127.0.0.1:57287] FLUSH
11:39:52.643 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b89d99, /127.0.0.1:57303 => /127.0.0.1:57287] CLOSE()
11:39:52.645 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:52.645 [nioEventLoopGroup-610-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-610-1
11:39:52.646 [nioEventLoopGroup-596-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-6
11:39:52.646 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 :> /127.0.0.1:57287] INACTIVE
11:39:52.646 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08645927, /127.0.0.1:57302 :> /127.0.0.1:57287] UNREGISTERED
11:39:52.646 [nioEventLoopGroup-596-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-5
11:39:52.646 [nioEventLoopGroup-596-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-3
11:39:52.646 [nioEventLoopGroup-596-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-4
11:39:52.646 [nioEventLoopGroup-596-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-2
11:39:52.646 [nioEventLoopGroup-596-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-1
11:39:52.669 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb451a5bb, /127.0.0.1:57286 :> /127.0.0.1:57270] FLUSH
11:39:52.669 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb451a5bb, /127.0.0.1:57286 :> /127.0.0.1:57270] INACTIVE
11:39:52.669 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb451a5bb, /127.0.0.1:57286 :> /127.0.0.1:57270] UNREGISTERED
11:39:52.669 [nioEventLoopGroup-580-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-8
11:39:53.003 [MockServer thread for port: 57304] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57304
11:39:53.003 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.008 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x877aee6e, /127.0.0.1:57305 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:53.009 [nioEventLoopGroup-612-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:53.009 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x877aee6e, /127.0.0.1:57305 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.009 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x877aee6e, /127.0.0.1:57305 => /127.0.0.1:57304] FLUSH
11:39:53.010 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x877aee6e, /127.0.0.1:57305 => /127.0.0.1:57304] FLUSH
11:39:53.010 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.010 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x877aee6e, /127.0.0.1:57305 :> /127.0.0.1:57304] INACTIVE
11:39:53.010 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x877aee6e, /127.0.0.1:57305 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.011 [nioEventLoopGroup-613-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-613-1
11:39:53.011 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.014 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405154dd, /127.0.0.1:57306 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:53.015 [nioEventLoopGroup-612-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:53.015 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405154dd, /127.0.0.1:57306 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.016 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405154dd, /127.0.0.1:57306 => /127.0.0.1:57304] FLUSH
11:39:53.016 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405154dd, /127.0.0.1:57306 => /127.0.0.1:57304] FLUSH
11:39:53.016 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405154dd, /127.0.0.1:57306 :> /127.0.0.1:57304] INACTIVE
11:39:53.016 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.016 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405154dd, /127.0.0.1:57306 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.016 [nioEventLoopGroup-614-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-614-1
11:39:53.017 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.020 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9a245b0, /127.0.0.1:57307 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:53.022 [nioEventLoopGroup-612-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:53.022 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9a245b0, /127.0.0.1:57307 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.022 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9a245b0, /127.0.0.1:57307 => /127.0.0.1:57304] FLUSH
11:39:53.023 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9a245b0, /127.0.0.1:57307 => /127.0.0.1:57304] FLUSH
11:39:53.023 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.023 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9a245b0, /127.0.0.1:57307 :> /127.0.0.1:57304] INACTIVE
11:39:53.023 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9a245b0, /127.0.0.1:57307 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.023 [nioEventLoopGroup-615-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-615-1
11:39:53.024 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.027 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabfd1319, /127.0.0.1:57308 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.027 [nioEventLoopGroup-612-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:53.028 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabfd1319, /127.0.0.1:57308 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.028 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabfd1319, /127.0.0.1:57308 => /127.0.0.1:57304] FLUSH
11:39:53.028 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabfd1319, /127.0.0.1:57308 => /127.0.0.1:57304] FLUSH
11:39:53.028 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabfd1319, /127.0.0.1:57308 :> /127.0.0.1:57304] INACTIVE
11:39:53.028 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabfd1319, /127.0.0.1:57308 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.028 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.029 [nioEventLoopGroup-616-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-616-1
11:39:53.030 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.033 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89d71582, /127.0.0.1:57309 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:53.034 [nioEventLoopGroup-612-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:53.035 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89d71582, /127.0.0.1:57309 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.035 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89d71582, /127.0.0.1:57309 => /127.0.0.1:57304] FLUSH
11:39:53.035 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89d71582, /127.0.0.1:57309 => /127.0.0.1:57304] FLUSH
11:39:53.035 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89d71582, /127.0.0.1:57309 :> /127.0.0.1:57304] INACTIVE
11:39:53.035 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89d71582, /127.0.0.1:57309 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.035 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.035 [nioEventLoopGroup-617-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-617-1
11:39:53.037 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.040 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8453e31d, /127.0.0.1:57310 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:53.041 [nioEventLoopGroup-612-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:53.042 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8453e31d, /127.0.0.1:57310 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.042 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8453e31d, /127.0.0.1:57310 => /127.0.0.1:57304] FLUSH
11:39:53.042 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8453e31d, /127.0.0.1:57310 => /127.0.0.1:57304] FLUSH
11:39:53.043 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8453e31d, /127.0.0.1:57310 :> /127.0.0.1:57304] INACTIVE
11:39:53.042 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.043 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8453e31d, /127.0.0.1:57310 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.043 [nioEventLoopGroup-618-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-618-1
11:39:53.044 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.047 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa01bbb41, /127.0.0.1:57311 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:53.048 [nioEventLoopGroup-612-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:53.048 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa01bbb41, /127.0.0.1:57311 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.048 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa01bbb41, /127.0.0.1:57311 => /127.0.0.1:57304] FLUSH
11:39:53.048 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa01bbb41, /127.0.0.1:57311 => /127.0.0.1:57304] FLUSH
11:39:53.048 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa01bbb41, /127.0.0.1:57311 :> /127.0.0.1:57304] INACTIVE
11:39:53.049 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa01bbb41, /127.0.0.1:57311 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.048 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.049 [nioEventLoopGroup-619-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-619-1
11:39:53.050 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.053 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eeb32de, /127.0.0.1:57312 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.054 [nioEventLoopGroup-612-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:53.054 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eeb32de, /127.0.0.1:57312 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.054 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eeb32de, /127.0.0.1:57312 => /127.0.0.1:57304] FLUSH
11:39:53.054 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eeb32de, /127.0.0.1:57312 => /127.0.0.1:57304] FLUSH
11:39:53.054 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.055 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eeb32de, /127.0.0.1:57312 :> /127.0.0.1:57304] INACTIVE
11:39:53.055 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1eeb32de, /127.0.0.1:57312 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.055 [nioEventLoopGroup-620-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-620-1
11:39:53.056 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.059 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31896489, /127.0.0.1:57313 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.059 [nioEventLoopGroup-612-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:53.060 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31896489, /127.0.0.1:57313 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.060 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31896489, /127.0.0.1:57313 => /127.0.0.1:57304] FLUSH
11:39:53.060 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31896489, /127.0.0.1:57313 => /127.0.0.1:57304] FLUSH
11:39:53.060 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31896489, /127.0.0.1:57313 :> /127.0.0.1:57304] INACTIVE
11:39:53.060 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x31896489, /127.0.0.1:57313 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.060 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.060 [nioEventLoopGroup-621-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-621-1
11:39:53.061 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.064 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bce3df2, /127.0.0.1:57314 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.065 [nioEventLoopGroup-612-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:53.065 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bce3df2, /127.0.0.1:57314 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.065 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bce3df2, /127.0.0.1:57314 => /127.0.0.1:57304] FLUSH
11:39:53.066 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bce3df2, /127.0.0.1:57314 => /127.0.0.1:57304] FLUSH
11:39:53.066 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bce3df2, /127.0.0.1:57314 :> /127.0.0.1:57304] INACTIVE
11:39:53.066 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bce3df2, /127.0.0.1:57314 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.066 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.066 [nioEventLoopGroup-622-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-622-1
11:39:53.067 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.070 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac4acdc4, /127.0.0.1:57315 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.070 [nioEventLoopGroup-612-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:53.071 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac4acdc4, /127.0.0.1:57315 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.071 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac4acdc4, /127.0.0.1:57315 => /127.0.0.1:57304] FLUSH
11:39:53.071 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac4acdc4, /127.0.0.1:57315 => /127.0.0.1:57304] FLUSH
11:39:53.071 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac4acdc4, /127.0.0.1:57315 :> /127.0.0.1:57304] INACTIVE
11:39:53.071 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac4acdc4, /127.0.0.1:57315 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.071 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.072 [nioEventLoopGroup-623-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-623-1
11:39:53.073 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.076 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8248003f, /127.0.0.1:57316 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:53.077 [nioEventLoopGroup-612-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:53.077 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8248003f, /127.0.0.1:57316 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.077 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8248003f, /127.0.0.1:57316 => /127.0.0.1:57304] FLUSH
11:39:53.078 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8248003f, /127.0.0.1:57316 => /127.0.0.1:57304] FLUSH
11:39:53.078 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8248003f, /127.0.0.1:57316 :> /127.0.0.1:57304] INACTIVE
11:39:53.078 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8248003f, /127.0.0.1:57316 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.078 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.078 [nioEventLoopGroup-624-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-624-1
11:39:53.080 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.083 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6bd604, /127.0.0.1:57317 => /127.0.0.1:57304] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:53.084 [nioEventLoopGroup-612-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:53.084 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6bd604, /127.0.0.1:57317 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.084 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6bd604, /127.0.0.1:57317 => /127.0.0.1:57304] FLUSH
11:39:53.085 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6bd604, /127.0.0.1:57317 => /127.0.0.1:57304] FLUSH
11:39:53.085 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.085 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6bd604, /127.0.0.1:57317 :> /127.0.0.1:57304] INACTIVE
11:39:53.085 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6bd604, /127.0.0.1:57317 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.085 [nioEventLoopGroup-625-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-625-1
11:39:53.106 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1e4d1ff4, /127.0.0.1:57318 => /127.0.0.1:57304] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Host: localhost:57304
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:53.106 [nioEventLoopGroup-612-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.106 [nioEventLoopGroup-612-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.107 [nioEventLoopGroup-612-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:53.107 [nioEventLoopGroup-612-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.109 [nioEventLoopGroup-612-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.110 [nioEventLoopGroup-612-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.110 [nioEventLoopGroup-612-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


11:39:53.111 [nioEventLoopGroup-612-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:53.111 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1e4d1ff4, /127.0.0.1:57318 => /127.0.0.1:57304] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
11:39:53.111 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1e4d1ff4, /127.0.0.1:57318 => /127.0.0.1:57304] FLUSH
11:39:53.140 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0fedfc12, /127.0.0.1:57319 => /127.0.0.1:57304] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Host: localhost:57304
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_73)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
11:39:53.140 [nioEventLoopGroup-612-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.141 [nioEventLoopGroup-612-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.141 [nioEventLoopGroup-612-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:53.141 [nioEventLoopGroup-612-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.141 [nioEventLoopGroup-612-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.142 [nioEventLoopGroup-612-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.142 [nioEventLoopGroup-612-7] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


11:39:53.142 [nioEventLoopGroup-612-7] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:57304" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_73)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:53.143 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0fedfc12, /127.0.0.1:57319 => /127.0.0.1:57304] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
11:39:53.143 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0fedfc12, /127.0.0.1:57319 => /127.0.0.1:57304] FLUSH
11:39:53.144 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:53.146 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b89d99, /127.0.0.1:57303 :> /127.0.0.1:57287] FLUSH
11:39:53.146 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b89d99, /127.0.0.1:57303 :> /127.0.0.1:57287] INACTIVE
11:39:53.146 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b89d99, /127.0.0.1:57303 :> /127.0.0.1:57287] UNREGISTERED
11:39:53.146 [nioEventLoopGroup-596-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-8
11:39:53.147 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x244602bd, /127.0.0.1:57320 => /127.0.0.1:57304] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57304
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:53.147 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x244602bd, /127.0.0.1:57320 => /127.0.0.1:57304] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.147 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x244602bd, /127.0.0.1:57320 => /127.0.0.1:57304] FLUSH
11:39:53.147 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x244602bd, /127.0.0.1:57320 => /127.0.0.1:57304] CLOSE()
11:39:53.149 [nioEventLoopGroup-612-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-2
11:39:53.149 [nioEventLoopGroup-612-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-1
11:39:53.149 [nioEventLoopGroup-612-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-3
11:39:53.149 [nioEventLoopGroup-612-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-4
11:39:53.149 [nioEventLoopGroup-612-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-5
11:39:53.149 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1e4d1ff4, /127.0.0.1:57318 :> /127.0.0.1:57304] INACTIVE
11:39:53.149 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0fedfc12, /127.0.0.1:57319 :> /127.0.0.1:57304] INACTIVE
11:39:53.149 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1e4d1ff4, /127.0.0.1:57318 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.149 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0fedfc12, /127.0.0.1:57319 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.149 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.149 [nioEventLoopGroup-626-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-626-1
11:39:53.165 [nioEventLoopGroup-580-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-7
11:39:53.165 [nioEventLoopGroup-580-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-6
11:39:53.506 [MockServer thread for port: 57321] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57321
11:39:53.507 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.510 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27b5ff1d, /127.0.0.1:57322 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:53.511 [nioEventLoopGroup-628-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:53.511 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27b5ff1d, /127.0.0.1:57322 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.511 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27b5ff1d, /127.0.0.1:57322 => /127.0.0.1:57321] FLUSH
11:39:53.512 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27b5ff1d, /127.0.0.1:57322 => /127.0.0.1:57321] FLUSH
11:39:53.512 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.512 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27b5ff1d, /127.0.0.1:57322 :> /127.0.0.1:57321] INACTIVE
11:39:53.512 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x27b5ff1d, /127.0.0.1:57322 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.512 [nioEventLoopGroup-629-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-629-1
11:39:53.513 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.516 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22a95275, /127.0.0.1:57323 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:53.517 [nioEventLoopGroup-628-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:53.517 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22a95275, /127.0.0.1:57323 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.517 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22a95275, /127.0.0.1:57323 => /127.0.0.1:57321] FLUSH
11:39:53.518 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22a95275, /127.0.0.1:57323 => /127.0.0.1:57321] FLUSH
11:39:53.518 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.518 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22a95275, /127.0.0.1:57323 :> /127.0.0.1:57321] INACTIVE
11:39:53.518 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22a95275, /127.0.0.1:57323 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.518 [nioEventLoopGroup-630-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-630-1
11:39:53.519 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.522 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50e901dc, /127.0.0.1:57324 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:53.524 [nioEventLoopGroup-628-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:53.524 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50e901dc, /127.0.0.1:57324 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.525 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50e901dc, /127.0.0.1:57324 => /127.0.0.1:57321] FLUSH
11:39:53.525 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50e901dc, /127.0.0.1:57324 => /127.0.0.1:57321] FLUSH
11:39:53.525 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50e901dc, /127.0.0.1:57324 :> /127.0.0.1:57321] INACTIVE
11:39:53.525 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.525 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x50e901dc, /127.0.0.1:57324 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.526 [nioEventLoopGroup-631-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-631-1
11:39:53.527 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.529 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83754407, /127.0.0.1:57325 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.530 [nioEventLoopGroup-628-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:53.531 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83754407, /127.0.0.1:57325 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.531 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83754407, /127.0.0.1:57325 => /127.0.0.1:57321] FLUSH
11:39:53.531 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83754407, /127.0.0.1:57325 => /127.0.0.1:57321] FLUSH
11:39:53.531 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.531 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83754407, /127.0.0.1:57325 :> /127.0.0.1:57321] INACTIVE
11:39:53.531 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83754407, /127.0.0.1:57325 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.532 [nioEventLoopGroup-632-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-632-1
11:39:53.533 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.537 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4301efc, /127.0.0.1:57326 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:53.538 [nioEventLoopGroup-628-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:53.539 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4301efc, /127.0.0.1:57326 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.539 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4301efc, /127.0.0.1:57326 => /127.0.0.1:57321] FLUSH
11:39:53.539 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4301efc, /127.0.0.1:57326 => /127.0.0.1:57321] FLUSH
11:39:53.540 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4301efc, /127.0.0.1:57326 :> /127.0.0.1:57321] INACTIVE
11:39:53.540 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4301efc, /127.0.0.1:57326 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.539 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.540 [nioEventLoopGroup-633-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-633-1
11:39:53.541 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.544 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c80326b, /127.0.0.1:57327 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:53.545 [nioEventLoopGroup-628-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:53.546 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c80326b, /127.0.0.1:57327 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.546 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c80326b, /127.0.0.1:57327 => /127.0.0.1:57321] FLUSH
11:39:53.546 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c80326b, /127.0.0.1:57327 => /127.0.0.1:57321] FLUSH
11:39:53.546 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c80326b, /127.0.0.1:57327 :> /127.0.0.1:57321] INACTIVE
11:39:53.546 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c80326b, /127.0.0.1:57327 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.546 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.547 [nioEventLoopGroup-634-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-634-1
11:39:53.548 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.551 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84794116, /127.0.0.1:57328 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:53.552 [nioEventLoopGroup-628-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:53.552 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84794116, /127.0.0.1:57328 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.552 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84794116, /127.0.0.1:57328 => /127.0.0.1:57321] FLUSH
11:39:53.553 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84794116, /127.0.0.1:57328 => /127.0.0.1:57321] FLUSH
11:39:53.553 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.553 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84794116, /127.0.0.1:57328 :> /127.0.0.1:57321] INACTIVE
11:39:53.553 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84794116, /127.0.0.1:57328 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.553 [nioEventLoopGroup-635-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-635-1
11:39:53.555 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.559 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14b6c23c, /127.0.0.1:57329 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.560 [nioEventLoopGroup-628-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:53.560 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14b6c23c, /127.0.0.1:57329 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.560 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14b6c23c, /127.0.0.1:57329 => /127.0.0.1:57321] FLUSH
11:39:53.561 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14b6c23c, /127.0.0.1:57329 => /127.0.0.1:57321] FLUSH
11:39:53.561 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14b6c23c, /127.0.0.1:57329 :> /127.0.0.1:57321] INACTIVE
11:39:53.561 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14b6c23c, /127.0.0.1:57329 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.561 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.562 [nioEventLoopGroup-636-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-636-1
11:39:53.563 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.566 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8eb7218, /127.0.0.1:57330 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.567 [nioEventLoopGroup-628-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:53.567 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8eb7218, /127.0.0.1:57330 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.567 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8eb7218, /127.0.0.1:57330 => /127.0.0.1:57321] FLUSH
11:39:53.568 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8eb7218, /127.0.0.1:57330 => /127.0.0.1:57321] FLUSH
11:39:53.568 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.568 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8eb7218, /127.0.0.1:57330 :> /127.0.0.1:57321] INACTIVE
11:39:53.568 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8eb7218, /127.0.0.1:57330 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.568 [nioEventLoopGroup-637-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-637-1
11:39:53.569 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.572 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f04d0f4, /127.0.0.1:57331 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.573 [nioEventLoopGroup-628-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:53.573 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f04d0f4, /127.0.0.1:57331 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.573 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f04d0f4, /127.0.0.1:57331 => /127.0.0.1:57321] FLUSH
11:39:53.574 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.574 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f04d0f4, /127.0.0.1:57331 => /127.0.0.1:57321] FLUSH
11:39:53.574 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f04d0f4, /127.0.0.1:57331 :> /127.0.0.1:57321] INACTIVE
11:39:53.574 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f04d0f4, /127.0.0.1:57331 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.574 [nioEventLoopGroup-638-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-638-1
11:39:53.575 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.578 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4dacd269, /127.0.0.1:57332 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:53.578 [nioEventLoopGroup-628-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:53.579 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4dacd269, /127.0.0.1:57332 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.579 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4dacd269, /127.0.0.1:57332 => /127.0.0.1:57321] FLUSH
11:39:53.579 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4dacd269, /127.0.0.1:57332 => /127.0.0.1:57321] FLUSH
11:39:53.579 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.579 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4dacd269, /127.0.0.1:57332 :> /127.0.0.1:57321] INACTIVE
11:39:53.579 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4dacd269, /127.0.0.1:57332 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.579 [nioEventLoopGroup-639-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-639-1
11:39:53.580 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.583 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14af3ab3, /127.0.0.1:57333 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:53.584 [nioEventLoopGroup-628-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:53.584 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14af3ab3, /127.0.0.1:57333 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.584 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14af3ab3, /127.0.0.1:57333 => /127.0.0.1:57321] FLUSH
11:39:53.585 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14af3ab3, /127.0.0.1:57333 => /127.0.0.1:57321] FLUSH
11:39:53.585 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.585 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14af3ab3, /127.0.0.1:57333 :> /127.0.0.1:57321] INACTIVE
11:39:53.585 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14af3ab3, /127.0.0.1:57333 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.585 [nioEventLoopGroup-640-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-640-1
11:39:53.586 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.589 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5dee5e50, /127.0.0.1:57334 => /127.0.0.1:57321] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:53.590 [nioEventLoopGroup-628-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:53.591 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5dee5e50, /127.0.0.1:57334 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.591 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5dee5e50, /127.0.0.1:57334 => /127.0.0.1:57321] FLUSH
11:39:53.592 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5dee5e50, /127.0.0.1:57334 => /127.0.0.1:57321] FLUSH
11:39:53.592 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5dee5e50, /127.0.0.1:57334 :> /127.0.0.1:57321] INACTIVE
11:39:53.592 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5dee5e50, /127.0.0.1:57334 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.592 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.592 [nioEventLoopGroup-641-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-641-1
11:39:53.595 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 => /127.0.0.1:57321] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57321
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:53.596 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.596 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.597 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:53.597 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.598 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.598 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.598 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


11:39:53.599 [nioEventLoopGroup-628-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:53.599 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 => /127.0.0.1:57321] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
11:39:53.599 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 => /127.0.0.1:57321] FLUSH
11:39:53.607 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 => /127.0.0.1:57321] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_73
Host: localhost:57321
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
11:39:53.608 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.609 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.609 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



11:39:53.609 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.610 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.610 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



11:39:53.611 [nioEventLoopGroup-628-6] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


11:39:53.611 [nioEventLoopGroup-628-6] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_73" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:57321" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


11:39:53.611 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 => /127.0.0.1:57321] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
11:39:53.611 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 => /127.0.0.1:57321] FLUSH
11:39:53.613 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:53.615 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x86242596, /127.0.0.1:57336 => /127.0.0.1:57321] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57321
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:53.616 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x86242596, /127.0.0.1:57336 => /127.0.0.1:57321] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.616 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x86242596, /127.0.0.1:57336 => /127.0.0.1:57321] FLUSH
11:39:53.616 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x86242596, /127.0.0.1:57336 => /127.0.0.1:57321] CLOSE()
11:39:53.617 [nioEventLoopGroup-628-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-1
11:39:53.617 [nioEventLoopGroup-628-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-3
11:39:53.617 [nioEventLoopGroup-628-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-2
11:39:53.617 [nioEventLoopGroup-628-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-5
11:39:53.617 [nioEventLoopGroup-628-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-4
11:39:53.617 [nioEventLoopGroup-628-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-8
11:39:53.618 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 :> /127.0.0.1:57321] INACTIVE
11:39:53.618 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f5db83f, /127.0.0.1:57335 :> /127.0.0.1:57321] UNREGISTERED
11:39:53.618 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.618 [nioEventLoopGroup-642-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-642-1
11:39:53.650 [nioEventLoopGroup-596-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-7
11:39:53.650 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x244602bd, /127.0.0.1:57320 :> /127.0.0.1:57304] FLUSH
11:39:53.650 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x244602bd, /127.0.0.1:57320 :> /127.0.0.1:57304] INACTIVE
11:39:53.650 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x244602bd, /127.0.0.1:57320 :> /127.0.0.1:57304] UNREGISTERED
11:39:53.650 [nioEventLoopGroup-612-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-8
11:39:53.974 [MockServer thread for port: 57337] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57337
11:39:53.975 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.978 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c9991c8, /127.0.0.1:57338 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:53.980 [nioEventLoopGroup-644-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:53.980 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c9991c8, /127.0.0.1:57338 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.980 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c9991c8, /127.0.0.1:57338 => /127.0.0.1:57337] FLUSH
11:39:53.981 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c9991c8, /127.0.0.1:57338 => /127.0.0.1:57337] FLUSH
11:39:53.981 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.981 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c9991c8, /127.0.0.1:57338 :> /127.0.0.1:57337] INACTIVE
11:39:53.981 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c9991c8, /127.0.0.1:57338 :> /127.0.0.1:57337] UNREGISTERED
11:39:53.981 [nioEventLoopGroup-645-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-645-1
11:39:53.982 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:53.985 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc08eb38, /127.0.0.1:57339 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:53.987 [nioEventLoopGroup-644-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:53.987 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc08eb38, /127.0.0.1:57339 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:53.987 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc08eb38, /127.0.0.1:57339 => /127.0.0.1:57337] FLUSH
11:39:53.988 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc08eb38, /127.0.0.1:57339 => /127.0.0.1:57337] FLUSH
11:39:53.988 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc08eb38, /127.0.0.1:57339 :> /127.0.0.1:57337] INACTIVE
11:39:53.988 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc08eb38, /127.0.0.1:57339 :> /127.0.0.1:57337] UNREGISTERED
11:39:53.988 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:53.988 [nioEventLoopGroup-646-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-646-1
11:39:54.026 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.030 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe8aeee9, /127.0.0.1:57340 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:54.031 [nioEventLoopGroup-644-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:54.031 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe8aeee9, /127.0.0.1:57340 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.031 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe8aeee9, /127.0.0.1:57340 => /127.0.0.1:57337] FLUSH
11:39:54.031 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe8aeee9, /127.0.0.1:57340 => /127.0.0.1:57337] FLUSH
11:39:54.031 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.031 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe8aeee9, /127.0.0.1:57340 :> /127.0.0.1:57337] INACTIVE
11:39:54.032 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe8aeee9, /127.0.0.1:57340 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.032 [nioEventLoopGroup-647-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-647-1
11:39:54.032 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.035 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69a6433e, /127.0.0.1:57341 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:54.036 [nioEventLoopGroup-644-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:54.037 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69a6433e, /127.0.0.1:57341 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.037 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69a6433e, /127.0.0.1:57341 => /127.0.0.1:57337] FLUSH
11:39:54.037 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69a6433e, /127.0.0.1:57341 => /127.0.0.1:57337] FLUSH
11:39:54.037 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69a6433e, /127.0.0.1:57341 :> /127.0.0.1:57337] INACTIVE
11:39:54.037 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69a6433e, /127.0.0.1:57341 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.037 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.038 [nioEventLoopGroup-648-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-648-1
11:39:54.039 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.042 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x07d1a8f6, /127.0.0.1:57342 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:54.043 [nioEventLoopGroup-644-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:54.043 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x07d1a8f6, /127.0.0.1:57342 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.043 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x07d1a8f6, /127.0.0.1:57342 => /127.0.0.1:57337] FLUSH
11:39:54.044 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x07d1a8f6, /127.0.0.1:57342 => /127.0.0.1:57337] FLUSH
11:39:54.044 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.044 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x07d1a8f6, /127.0.0.1:57342 :> /127.0.0.1:57337] INACTIVE
11:39:54.044 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x07d1a8f6, /127.0.0.1:57342 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.044 [nioEventLoopGroup-649-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-649-1
11:39:54.045 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.048 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e8de365, /127.0.0.1:57343 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:54.049 [nioEventLoopGroup-644-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:54.050 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e8de365, /127.0.0.1:57343 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.050 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e8de365, /127.0.0.1:57343 => /127.0.0.1:57337] FLUSH
11:39:54.050 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e8de365, /127.0.0.1:57343 => /127.0.0.1:57337] FLUSH
11:39:54.050 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.050 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e8de365, /127.0.0.1:57343 :> /127.0.0.1:57337] INACTIVE
11:39:54.050 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e8de365, /127.0.0.1:57343 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.050 [nioEventLoopGroup-650-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-650-1
11:39:54.051 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.054 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3c23ff12, /127.0.0.1:57344 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:54.055 [nioEventLoopGroup-644-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:54.055 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3c23ff12, /127.0.0.1:57344 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.055 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3c23ff12, /127.0.0.1:57344 => /127.0.0.1:57337] FLUSH
11:39:54.056 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3c23ff12, /127.0.0.1:57344 => /127.0.0.1:57337] FLUSH
11:39:54.056 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.056 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3c23ff12, /127.0.0.1:57344 :> /127.0.0.1:57337] INACTIVE
11:39:54.056 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3c23ff12, /127.0.0.1:57344 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.056 [nioEventLoopGroup-651-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-651-1
11:39:54.057 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.060 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405e950e, /127.0.0.1:57345 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:54.061 [nioEventLoopGroup-644-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:54.061 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405e950e, /127.0.0.1:57345 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.061 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405e950e, /127.0.0.1:57345 => /127.0.0.1:57337] FLUSH
11:39:54.062 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405e950e, /127.0.0.1:57345 => /127.0.0.1:57337] FLUSH
11:39:54.062 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.062 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405e950e, /127.0.0.1:57345 :> /127.0.0.1:57337] INACTIVE
11:39:54.062 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x405e950e, /127.0.0.1:57345 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.062 [nioEventLoopGroup-652-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-652-1
11:39:54.063 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.066 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bf3c686, /127.0.0.1:57346 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:54.066 [nioEventLoopGroup-644-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:54.067 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bf3c686, /127.0.0.1:57346 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.067 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bf3c686, /127.0.0.1:57346 => /127.0.0.1:57337] FLUSH
11:39:54.067 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bf3c686, /127.0.0.1:57346 => /127.0.0.1:57337] FLUSH
11:39:54.067 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bf3c686, /127.0.0.1:57346 :> /127.0.0.1:57337] INACTIVE
11:39:54.067 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.067 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bf3c686, /127.0.0.1:57346 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.068 [nioEventLoopGroup-653-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-653-1
11:39:54.068 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.071 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x407d2b5f, /127.0.0.1:57347 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:54.072 [nioEventLoopGroup-644-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:54.072 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x407d2b5f, /127.0.0.1:57347 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.072 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x407d2b5f, /127.0.0.1:57347 => /127.0.0.1:57337] FLUSH
11:39:54.073 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x407d2b5f, /127.0.0.1:57347 => /127.0.0.1:57337] FLUSH
11:39:54.073 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.073 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x407d2b5f, /127.0.0.1:57347 :> /127.0.0.1:57337] INACTIVE
11:39:54.073 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x407d2b5f, /127.0.0.1:57347 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.073 [nioEventLoopGroup-654-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-654-1
11:39:54.074 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.077 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c069fd4, /127.0.0.1:57348 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:54.077 [nioEventLoopGroup-644-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:54.078 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c069fd4, /127.0.0.1:57348 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.078 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c069fd4, /127.0.0.1:57348 => /127.0.0.1:57337] FLUSH
11:39:54.078 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.078 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c069fd4, /127.0.0.1:57348 => /127.0.0.1:57337] FLUSH
11:39:54.078 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c069fd4, /127.0.0.1:57348 :> /127.0.0.1:57337] INACTIVE
11:39:54.078 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c069fd4, /127.0.0.1:57348 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.078 [nioEventLoopGroup-655-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-655-1
11:39:54.079 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.082 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7315107a, /127.0.0.1:57349 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:54.083 [nioEventLoopGroup-644-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:54.083 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7315107a, /127.0.0.1:57349 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.083 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7315107a, /127.0.0.1:57349 => /127.0.0.1:57337] FLUSH
11:39:54.084 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7315107a, /127.0.0.1:57349 => /127.0.0.1:57337] FLUSH
11:39:54.084 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.084 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7315107a, /127.0.0.1:57349 :> /127.0.0.1:57337] INACTIVE
11:39:54.084 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7315107a, /127.0.0.1:57349 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.084 [nioEventLoopGroup-656-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-656-1
11:39:54.085 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:54.088 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbdb3e90c, /127.0.0.1:57350 => /127.0.0.1:57337] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:54.088 [nioEventLoopGroup-644-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:54.089 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbdb3e90c, /127.0.0.1:57350 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:54.089 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbdb3e90c, /127.0.0.1:57350 => /127.0.0.1:57337] FLUSH
11:39:54.089 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbdb3e90c, /127.0.0.1:57350 => /127.0.0.1:57337] FLUSH
11:39:54.089 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:54.089 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbdb3e90c, /127.0.0.1:57350 :> /127.0.0.1:57337] INACTIVE
11:39:54.089 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbdb3e90c, /127.0.0.1:57350 :> /127.0.0.1:57337] UNREGISTERED
11:39:54.089 [nioEventLoopGroup-657-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-657-1
11:39:54.121 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x86242596, /127.0.0.1:57336 :> /127.0.0.1:57321] FLUSH
11:39:54.121 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x86242596, /127.0.0.1:57336 :> /127.0.0.1:57321] INACTIVE
11:39:54.121 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x86242596, /127.0.0.1:57336 :> /127.0.0.1:57321] UNREGISTERED
11:39:54.121 [nioEventLoopGroup-628-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-7
11:39:54.152 [nioEventLoopGroup-612-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-7
11:39:54.152 [nioEventLoopGroup-612-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-6
11:39:54.618 [nioEventLoopGroup-628-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-6
11:39:55.308 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:55.310 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b77f1f0, /127.0.0.1:57354 => /127.0.0.1:57337] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57337
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:55.311 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b77f1f0, /127.0.0.1:57354 => /127.0.0.1:57337] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.311 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b77f1f0, /127.0.0.1:57354 => /127.0.0.1:57337] FLUSH
11:39:55.311 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b77f1f0, /127.0.0.1:57354 => /127.0.0.1:57337] CLOSE()
11:39:55.312 [nioEventLoopGroup-644-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-1
11:39:55.312 [nioEventLoopGroup-644-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-2
11:39:55.312 [nioEventLoopGroup-644-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-3
11:39:55.312 [nioEventLoopGroup-644-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-4
11:39:55.312 [nioEventLoopGroup-644-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-5
11:39:55.312 [nioEventLoopGroup-644-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-8
11:39:55.312 [nioEventLoopGroup-644-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-7
11:39:55.311 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.312 [nioEventLoopGroup-658-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-658-1
11:39:55.668 [MockServer thread for port: 57355] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 57355
11:39:55.669 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.671 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x089c4416, /127.0.0.1:57357 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:55.673 [nioEventLoopGroup-660-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:55.673 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x089c4416, /127.0.0.1:57357 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.673 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x089c4416, /127.0.0.1:57357 => /127.0.0.1:57355] FLUSH
11:39:55.673 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x089c4416, /127.0.0.1:57357 => /127.0.0.1:57355] FLUSH
11:39:55.673 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x089c4416, /127.0.0.1:57357 :> /127.0.0.1:57355] INACTIVE
11:39:55.673 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x089c4416, /127.0.0.1:57357 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.673 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.674 [nioEventLoopGroup-661-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-661-1
11:39:55.674 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.677 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb035df77, /127.0.0.1:57358 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
11:39:55.678 [nioEventLoopGroup-660-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


11:39:55.679 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb035df77, /127.0.0.1:57358 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.679 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb035df77, /127.0.0.1:57358 => /127.0.0.1:57355] FLUSH
11:39:55.679 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb035df77, /127.0.0.1:57358 => /127.0.0.1:57355] FLUSH
11:39:55.679 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.679 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb035df77, /127.0.0.1:57358 :> /127.0.0.1:57355] INACTIVE
11:39:55.679 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb035df77, /127.0.0.1:57358 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.679 [nioEventLoopGroup-662-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-662-1
11:39:55.680 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.683 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x613f68ad, /127.0.0.1:57359 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:55.684 [nioEventLoopGroup-660-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


11:39:55.684 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x613f68ad, /127.0.0.1:57359 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.684 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x613f68ad, /127.0.0.1:57359 => /127.0.0.1:57355] FLUSH
11:39:55.685 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x613f68ad, /127.0.0.1:57359 => /127.0.0.1:57355] FLUSH
11:39:55.685 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.685 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x613f68ad, /127.0.0.1:57359 :> /127.0.0.1:57355] INACTIVE
11:39:55.685 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x613f68ad, /127.0.0.1:57359 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.685 [nioEventLoopGroup-663-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-663-1
11:39:55.686 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.689 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32c6c80b, /127.0.0.1:57360 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:55.690 [nioEventLoopGroup-660-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:55.690 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32c6c80b, /127.0.0.1:57360 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.690 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32c6c80b, /127.0.0.1:57360 => /127.0.0.1:57355] FLUSH
11:39:55.690 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32c6c80b, /127.0.0.1:57360 => /127.0.0.1:57355] FLUSH
11:39:55.690 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.690 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32c6c80b, /127.0.0.1:57360 :> /127.0.0.1:57355] INACTIVE
11:39:55.690 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32c6c80b, /127.0.0.1:57360 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.690 [nioEventLoopGroup-664-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-664-1
11:39:55.691 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.694 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40f6b69a, /127.0.0.1:57361 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
11:39:55.695 [nioEventLoopGroup-660-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


11:39:55.695 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40f6b69a, /127.0.0.1:57361 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.695 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40f6b69a, /127.0.0.1:57361 => /127.0.0.1:57355] FLUSH
11:39:55.696 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40f6b69a, /127.0.0.1:57361 => /127.0.0.1:57355] FLUSH
11:39:55.696 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.696 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40f6b69a, /127.0.0.1:57361 :> /127.0.0.1:57355] INACTIVE
11:39:55.696 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x40f6b69a, /127.0.0.1:57361 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.696 [nioEventLoopGroup-665-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-665-1
11:39:55.697 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.700 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e2df6, /127.0.0.1:57362 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
11:39:55.701 [nioEventLoopGroup-660-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


11:39:55.702 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e2df6, /127.0.0.1:57362 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.702 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e2df6, /127.0.0.1:57362 => /127.0.0.1:57355] FLUSH
11:39:55.702 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e2df6, /127.0.0.1:57362 => /127.0.0.1:57355] FLUSH
11:39:55.702 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.702 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e2df6, /127.0.0.1:57362 :> /127.0.0.1:57355] INACTIVE
11:39:55.702 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e2df6, /127.0.0.1:57362 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.702 [nioEventLoopGroup-666-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-666-1
11:39:55.703 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.706 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7c7d86f, /127.0.0.1:57363 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
11:39:55.707 [nioEventLoopGroup-660-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


11:39:55.707 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7c7d86f, /127.0.0.1:57363 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.708 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7c7d86f, /127.0.0.1:57363 => /127.0.0.1:57355] FLUSH
11:39:55.708 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7c7d86f, /127.0.0.1:57363 => /127.0.0.1:57355] FLUSH
11:39:55.708 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.708 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7c7d86f, /127.0.0.1:57363 :> /127.0.0.1:57355] INACTIVE
11:39:55.708 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7c7d86f, /127.0.0.1:57363 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.708 [nioEventLoopGroup-667-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-667-1
11:39:55.709 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.712 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d444f71, /127.0.0.1:57364 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:55.713 [nioEventLoopGroup-660-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


11:39:55.713 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d444f71, /127.0.0.1:57364 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.713 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d444f71, /127.0.0.1:57364 => /127.0.0.1:57355] FLUSH
11:39:55.714 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d444f71, /127.0.0.1:57364 => /127.0.0.1:57355] FLUSH
11:39:55.714 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.714 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d444f71, /127.0.0.1:57364 :> /127.0.0.1:57355] INACTIVE
11:39:55.714 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d444f71, /127.0.0.1:57364 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.714 [nioEventLoopGroup-668-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-668-1
11:39:55.715 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.717 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0439f98d, /127.0.0.1:57365 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:55.718 [nioEventLoopGroup-660-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


11:39:55.718 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0439f98d, /127.0.0.1:57365 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.718 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0439f98d, /127.0.0.1:57365 => /127.0.0.1:57355] FLUSH
11:39:55.719 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0439f98d, /127.0.0.1:57365 => /127.0.0.1:57355] FLUSH
11:39:55.719 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.719 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0439f98d, /127.0.0.1:57365 :> /127.0.0.1:57355] INACTIVE
11:39:55.719 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0439f98d, /127.0.0.1:57365 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.719 [nioEventLoopGroup-669-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-669-1
11:39:55.720 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.723 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09f2e90, /127.0.0.1:57366 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:55.724 [nioEventLoopGroup-660-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


11:39:55.724 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09f2e90, /127.0.0.1:57366 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.724 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09f2e90, /127.0.0.1:57366 => /127.0.0.1:57355] FLUSH
11:39:55.724 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09f2e90, /127.0.0.1:57366 => /127.0.0.1:57355] FLUSH
11:39:55.724 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.725 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09f2e90, /127.0.0.1:57366 :> /127.0.0.1:57355] INACTIVE
11:39:55.725 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb09f2e90, /127.0.0.1:57366 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.725 [nioEventLoopGroup-670-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-670-1
11:39:55.725 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.728 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67e83f91, /127.0.0.1:57367 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
11:39:55.729 [nioEventLoopGroup-660-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


11:39:55.729 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67e83f91, /127.0.0.1:57367 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.729 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67e83f91, /127.0.0.1:57367 => /127.0.0.1:57355] FLUSH
11:39:55.729 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67e83f91, /127.0.0.1:57367 => /127.0.0.1:57355] FLUSH
11:39:55.729 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67e83f91, /127.0.0.1:57367 :> /127.0.0.1:57355] INACTIVE
11:39:55.729 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.730 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67e83f91, /127.0.0.1:57367 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.730 [nioEventLoopGroup-671-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-671-1
11:39:55.731 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.734 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa044e9d8, /127.0.0.1:57368 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
11:39:55.735 [nioEventLoopGroup-660-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


11:39:55.735 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa044e9d8, /127.0.0.1:57368 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.735 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa044e9d8, /127.0.0.1:57368 => /127.0.0.1:57355] FLUSH
11:39:55.736 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa044e9d8, /127.0.0.1:57368 => /127.0.0.1:57355] FLUSH
11:39:55.736 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.736 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa044e9d8, /127.0.0.1:57368 :> /127.0.0.1:57355] INACTIVE
11:39:55.736 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa044e9d8, /127.0.0.1:57368 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.736 [nioEventLoopGroup-672-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-672-1
11:39:55.737 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
11:39:55.740 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c3de70d, /127.0.0.1:57369 => /127.0.0.1:57355] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
11:39:55.741 [nioEventLoopGroup-660-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


11:39:55.741 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c3de70d, /127.0.0.1:57369 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.741 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c3de70d, /127.0.0.1:57369 => /127.0.0.1:57355] FLUSH
11:39:55.741 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c3de70d, /127.0.0.1:57369 => /127.0.0.1:57355] FLUSH
11:39:55.741 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c3de70d, /127.0.0.1:57369 :> /127.0.0.1:57355] INACTIVE
11:39:55.741 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.741 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6c3de70d, /127.0.0.1:57369 :> /127.0.0.1:57355] UNREGISTERED
11:39:55.742 [nioEventLoopGroup-673-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-673-1
11:39:55.814 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b77f1f0, /127.0.0.1:57354 :> /127.0.0.1:57337] FLUSH
11:39:55.814 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b77f1f0, /127.0.0.1:57354 :> /127.0.0.1:57337] INACTIVE
11:39:55.814 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2b77f1f0, /127.0.0.1:57354 :> /127.0.0.1:57337] UNREGISTERED
11:39:55.814 [nioEventLoopGroup-644-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-6
11:39:55.987 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
11:39:55.990 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c28a14, /127.0.0.1:57374 => /127.0.0.1:57355] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:57355
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
11:39:55.990 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c28a14, /127.0.0.1:57374 => /127.0.0.1:57355] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
11:39:55.990 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c28a14, /127.0.0.1:57374 => /127.0.0.1:57355] FLUSH
11:39:55.990 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x42c28a14, /127.0.0.1:57374 => /127.0.0.1:57355] CLOSE()
11:39:55.991 [nioEventLoopGroup-660-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-660-3
11:39:55.991 [nioEventLoopGroup-660-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-660-1
11:39:55.991 [nioEventLoopGroup-660-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-660-2
11:39:55.991 [nioEventLoopGroup-660-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-660-4
11:39:55.991 [nioEventLoopGroup-660-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-660-7
11:39:55.991 [nioEventLoopGroup-660-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-660-5
11:39:55.991 [nioEventLoopGroup-660-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-660-8
11:39:55.991 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
11:39:55.992 [nioEventLoopGroup-674-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-674-1